Import
System.Net.Mail
Dim myMail As New MailMessage()
myMail.From = New MailAddress("From Email Address")
myMail.To.Add("To Email Address")
myMail.Subject = "Email Subject"
myMail.Body = "Email Body"
Dim mysmtp As New SmtpClient(<SMTP SERVER>)
mysmtp.Send(MyMail)
Dim myMail As New MailMessage()
myMail.From = New MailAddress("From Email Address")
myMail.To.Add("To Email Address")
myMail.Subject = "Email Subject"
myMail.Body = "Email Body"
Dim mysmtp As New SmtpClient(<SMTP SERVER>)
mysmtp.Send(MyMail)
No comments:
Post a Comment