Click here to Skip to main content
15,888,579 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
I am getting the following error while sending an email to other domain users from my asp.net application. Mail sending successful for the same domain users but not other domain.


SmtpFailedRecipientException was caught
Mailbox Unavailable. The server response was: 5.7.1 Unable to relay

Any idea on this??
Posted

1 solution

Hi
This could be because the account is not allowed to send external to the domain from the mail servers configuration. To test this use your own credentials and if that works then troubleshoot whats stopping that account from sending on the mail server
 
Share this answer
 
Comments
Rajesh Sannidhi 7-Feb-14 11:52am    
I will check it.... Thanks a lot for your response.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900