Dim mailmsg as new Web.Mail.MailMessage
mailmsg.from = "youremail"
mailmsg.to = "personsemail"
mailmsg.Subject = "yoursubject"
mailmsg.Body = "thebodyofmsg"
Web.Mail.SmtpMail.SmtpServer = "localhost" set the server
Web.Mail.SmtpMail.Send(mailmsg) send it