Here is the example:-
Firstly, You import
Imports System.Web.Mail
Then Write Code
Dim msg As New Mail.MailMessage
msg.From = ”kamal.jindal@gharexpert.com“
msg.To = ”jindal82@gmail.com“
msg.BodyFormat = MailFormat.Html
msg.Body = “I am writing article of Sending Email with .NET page”
msg.Subject = “Sending Email with .NET page”
SmtpMail.Send(msg)
Thanks
No comments:
Post a Comment