Hello all,
I have zero knowledge or experience with VB. We have some code, written by a third party, that sends the contents of various textboxes to a specific email address.
We want to be able to send the email to the email address the user specifies in a TextBox called "Email". How do we do that.
Here is the VB code:
<script runat="server">
Protected Sub SubmitForm_Click(ByVal sender As Object, ByVal e As System.EventArgs)
If Not Page.IsValid Then Exit Sub
Dim SendResultsTo As String = "xxx@xxx.com"
Dim smtpMailServer As String = "localhost"
Dim smtpUsername As String = "xxx@xxx.com"
Dim smtpPassword As String = "xxx"
Dim MailSubject As String = "Membership Application"
Try
Dim txtQ As TextBox = Me.FormContent.FindControl("T ...
Go to the complete details ...