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

Posted by kredok32 on Stack Overflow See other posts from Stack Overflow or by kredok32
Published on 2010-04-23T12:41:13Z Indexed on 2010/04/23 12:43 UTC
Read the original article Hit count: 250

Filed under:
|
|

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.

© Stack Overflow or respective owner

Related posts about smtp

Related posts about email