you can use System.Web.Mail
Imports System.Web.Mail
Dim message As New MailMessage
SmtpMail.SmtpServer = "smtp.mail.yahoo.com"
message.[To] = "dhl_gandhi@yahoo.com"
message.From = "sender@domainName.com"
message.Subject = "Email Subject"
message.BodyFormat = MailFormat.Html
message.body = "Test Message"
SmtpMail.Send(message)
Response.Write("Email Sent")