I need to set up an automated email system, we need to track bounced emails. I am getting failure notice from our exchange server to "From" email ID. But I want to get that failure notice to which id i have given to Headers.Add() method...
This is the code which I have tried:-
MailMessage msgRequest = new MailMessage();
msgRequest.BodyFormat = MailFormat.Text;
msgRequest.Subject = "Test email";
msgRequest.To = "email@example.com";
msgRequest.From = "firstname.lastname@example.org";
msgRequest.Body = "Message Body";
SmtpMail.SmtpServer = "servername.com";
Is there any other method to get failure notice to a particular id?
Quick response will be really appreciated and Thanks in Advance for
|All times are GMT. The time now is 07:08 PM.|
Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.