Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Dim objEmail as New MailMessage
- objEmail.To="name@domain.net"
- objEmail.FROM="name@domain.net"
- objEmail.SUBJECT="Subject"
- objEmail.BODY="Message body"
- objEmail.BodyFormat = MailFormat.html
- SmtpMail.SmtpServer = "Your email server"
- SmtpMail.Send(objEmail)
- Response.write("Your email has been sent")
Add Comment
Please, Sign In to add comment