.Net Mailbox unavailable. Relaying Denied...
-
Hi, I'm getting a "Mailbox unavailable. The server response was: 5.7.1 ... Relaying denied." when I try to route mail outside of my domain. All mail works when I send inside of my domain. Here's the code snippet I'm using: Dim SmtpMail As New System.Net.Mail.SmtpClient SmtpMail.Host = _mailServer SmtpMail.Port = _portnumber SmtpMail.Send(objMail) Please help me to resolve this problem...?
With Regards, Samson
-
Hi, I'm getting a "Mailbox unavailable. The server response was: 5.7.1 ... Relaying denied." when I try to route mail outside of my domain. All mail works when I send inside of my domain. Here's the code snippet I'm using: Dim SmtpMail As New System.Net.Mail.SmtpClient SmtpMail.Host = _mailServer SmtpMail.Port = _portnumber SmtpMail.Send(objMail) Please help me to resolve this problem...?
With Regards, Samson
Use a different SMTP server. The SMTP server you use does not allow relaying. You may want to use the smtp server of your ISP...
.: I love it when a plan comes together :. http://www.zonderpunt.nl