Mailbox unavailable. The server response was: 5.7.1 Unable to relay for [email]  
Author Message
gmedia





PostPosted: Visual C# General, Mailbox unavailable. The server response was: 5.7.1 Unable to relay for [email] Top

Anyone have a clue I have tried many different examples, but I just not sure about the credentials.

I also do not have access to the SMTP server.



Visual C#15  
 
 
ahmedilyas





PostPosted: Visual C# General, Mailbox unavailable. The server response was: 5.7.1 Unable to relay for [email] Top

please post the code you are using.

for now check this out:

http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=760457&SiteID=1



 
 
gmedia





PostPosted: Visual C# General, Mailbox unavailable. The server response was: 5.7.1 Unable to relay for [email] Top

No need. THanks. THe article helped. I was missing one line of code, mailclient.credentials = credentials...

Thanks again.