On testing emails from my local machine, I'm able to send an email through Winhost's email accounts using SMTP. However once this code is loaded up to the webserver, the email is not sent. Host: mail.<mysite>.com Port: 587 From: contactus@<mysite>.com SSL: false Only thing I can figure is possibly a DNS issue on the web server causing it to not resolve the host name? Again I'm able to send email using SMTP from my local machine using the provided email for the site.