Here is some sample code:
Dim MyMessage As New System.Web.Mail.MailMessage
Dim myMail As System.Web.Mail.SmtpMail
MyMessage.BodyFormat = MailFormat.Html 'Or MailFormat.text
MyMessage.To = "
[email protected]"
MyMessage.From = "
[email protected]"
MyMessage.Subject = "Message Subject Line"
MyMessage.Body = "Some text you want to send."
myMail.SmtpServer = "Localhost" 'You may need to change this to your server
myMail.Send(MyMessage)
Hope it helps,
Robert Pritchard
Nerds Software