Getting exception of "553 sorry, that domain isn't in my list of allowed rcpthosts" when using SMTP
Posted by Van Glass on 15 March 2007 10:52 PM
Most SMTP servers are configured in a way that without proper authentication they will only relay mail for the domains that they host. If you try to send an email to an outside domain without first authenticating with the server you will likely get this error or something similar.

To authenticate with an SMTP server invoke the Smtp.Connect() method followed by Smtp.Login(username,password);



You may then send emails to domains outside those hosted by the SMTP server.
(262 vote(s))
This article was helpful
This article was not helpful

Comments (0)
Post a new comment
Full Name:
CAPTCHA Verification 
Please enter the text you see in the image into the textbox below. This is required to prevent automated registrations and form submissions.

Help Desk Software by Kayako fusion