System.Net.Mail.SmtpException: Failure sending mail

Discussion in 'Site Programming, Development and Design' started by robertp, Mar 2, 2010.

  1. I've got an interesting situation here. I do not have the domain pointed to my Winhost servers yet. I'm trying to connect to the mail server and test the email functionality but it's giving errors that it can't resolve the domain, and when connecting by IP it gives the following error. I've tested the login and pw and they both work. The test is running from the Winhost servers.

    System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it

    Any ideas on what to check for next?
    Last edited by a moderator: Oct 14, 2015
  2. Ray


    The IP address you are using is our web server and not the mail server. Try using as the smtp server.

Share This Page