I am trying to use an aspx page to send email using the smtpMail class and
my smtp server . When I click send but when I check my inbox no messages
appear. The page doesn't give any errors. I doble checked and my code behing
seems find:
Dim objmail As New Web.Mail.MailMessage()
objmail.From = "re****@myserver.com"
objmail.To = "re****@myserver.com"
objmail.Subject = "message from me"
objmail.Body = "body text"
objmail.BodyFormat = Web.Mail.MailFormat.Html
Web.Mail.SmtpMail.SmtpServer = "localhost"
Web.Mail.SmtpMail.Send(objmail)
Can some body please tell me what additional steps I might need to take?