Recently I had to move one of my web applications to a new hosting provider. The mail and web service is still held on the old hosting site however, when I try to send an email from the new server,I get an error;
"The server rejected one or more recipient addresses. The server response was: 450 : Recipient address rejected: Greylisted for 5 minutes"
I asked my old hosting provider what I need to do to fix this and they replied with
The mail server operates on POP before SMTP. If a valid POP login is not received before sending mail through the server, then the mail is greylisted and held for 5 minutes before a retry.
To prevent this, simply do a Receive before sending mail
Anyone any idea how I do a POP before SMTP in c#?
Thanks for your help.