Make sure the value specified at
SmtpMail.SmtpServer
- Is a valid SMTP Server
- Check to be sure the server System.Web.Mail is executing on can connect to the mail server. Some times firewalls or proxy servers can get in the way.
- Try specifying the value by IP address. Poor DNS resolution can sometimes hinder name lookups.
- Make sure the that the mail server is running at port 25
.