Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
<%
Set myMail = CreateObject("CDONTS.NewMail")
myMail.From = "test@test.com"
myMail.To = "test@test.com"
myMail.Subject = "Test Subject"
myMail.BodyFormat = 0
myMail.MailFormat = 0
myMail.Body = HTML
myMail.Send
%>
Sub Button1_Click(sender as Object, e as System.EventArgs)
Dim objMail As New MailMessage()
objMail.From = "info@mydomain.com"
objMail.To = "info@domain.com"
objMail.Subject = "Life Insurance Quote"
objMail.Body = RequestForm(?????)
objMail.BodyFormat = MailFormat.HTML
SmtpMail.SmtpServer = "mail.wisetracking.com"
SmtpMail.Send(objMail)
End Sub
In your HTML code:
<asp:textbox id=txtMessage runat=server>
<asp:button id=btnSend runat=server text="Send" onClick="btnSend_Click">
Within your script tags:
sub btnSend_Click(sender as Object, e as Eventargs)
dim objMail as MailMessage = new MailMessage
objMail.From = "info@mydomain.com"
objMail.To = "info@domain.com"
objMail.Subject = "Life Insurance Quote"
objMail.Body = txtMessage.Text
objMail.BodyFormat = MailFormat.HTML
SmtpMail.SmtpServer = "mail.wisetracking.com"
SmtpMail.Send(objMail)
end sub
objMail.Fields("[URL unfurl="true"]http://schemas.microsoft.com/cdo/configuration/smtpauthenticate")[/URL] = 1
objMail.Fields("[URL unfurl="true"]http://schemas.microsoft.com/cdo/configuration/sendusername")[/URL] = "login_name"
objMail.Fields("[URL unfurl="true"]http://schemas.microsoft.com/cdo/configuration/sendpassword")[/URL] = "login_password"
login_name and login_password corresponds to your smtp server authentication.