Asp.Net - How to send HTML mail ?
Code:
Dim mail As New MailMessage()
mail.To = "emailto"
mail.From = "emailfrom"
mail.Subject = "Test."
mail.BodyFormat = MailFormat.Html
mail.Body = "Test Message"
SmtpMail.SmtpServer = "yourserver"
SmtpMail.Send(mail)
0 comments:
Post a Comment