Determine if e-mail message can be successfully sent

Posted by Felipe Lima on Stack Overflow See other posts from Stack Overflow or by Felipe Lima
Published on 2009-06-29T04:03:38Z Indexed on 2010/05/09 22:48 UTC
Read the original article Hit count: 187

Filed under:
|
|

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!!

© Stack Overflow or respective owner

Related posts about c#

Related posts about email