Unable to get SMTP to work on webserver, code works fine from local machine

Discussion in 'Email' started by mmcculloch, May 13, 2013.

  1. 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.
     
    Last edited by a moderator: Oct 14, 2015
  2. Elshadriel

    Elshadriel Winhost Staff

    What's the error message you're getting?
     
  3. Tabitha

    Tabitha WinHost HBIC

    Can you also provide your domain name?
     

Share This Page