Determine if e-mail message can be successfully sent
- by Felipe Lima
Hello Everyone,
I am working in a mailing application in C# and, basically, I need to be able to determine which recipients successfully received the message, which ones did not, no matter what was the failure reason.
In summary, I need an exception to be thrown whenever the email address does not exist, for example. However, SmtpClient.Send does not throw an exception in this case, so I'd need to monitor the delivery failure replies and parse them, maybe.
I know this is not a simple task, so I'd ask you experts some tips on how to handle the main issues with email sending.
Thanks in advance!!