views:

126

answers:

1

Hello , I send email on GoDaddy site ( from my .NET application):

mail.From = new MailAddress("[email protected]");
        mail.To.Add(emailadmin);
        mail.Subject = "Subj";
        mail.IsBodyHtml = true;
        mail.Body = Body;
        ...
        smtp.Host = "relay-hosting.secureserver.net";
        smtp.Port = 25;
        smtp.EnableSsl = false;
        smtp.Send(mail);

but I have received the error :

The server response was: mail server permanently rejected message (#5.3.0)

else I have tried this code :

        smtp.Host = "relay-hosting.secureserver.net";
        smtp.Credentials = new NetworkCredential("[email protected]", "password");
        smtp.Port = 25;
        smtp.EnableSsl = false;

but get same error. Please advice.

A: 

I found some info on google mostly stating all the same. Try this:

Quote below taken from: expert-exchange

The message means what it says. A couple of options. You could ask them why they are blocking you - some kind of blacklist probably. Try putting your external IP address in to this web site and see if you are listed: http://rbls.org/

As a temporary measure you could use an SMTP Connector to route email through your ISPs SMTP server. http://www.amset.info/exchange/smtp-connector.asp

Simon.

Rick de Graaf