Delivery failures and Read Receipt in sendmail in .Net

Please support our ASP.NET advertiser: Intel Parallel Studio Home
Reply

Join Date: Jan 2009
Posts: 1
Reputation: latikapuri is an unknown quantity at this point 
Solved Threads: 0
latikapuri latikapuri is offline Offline
Newbie Poster

Delivery failures and Read Receipt in sendmail in .Net

 
0
  #1
Jan 6th, 2009
How to check for mail delivery failures in case of using sendmail in .Net. Also I would like to find a mechanism for incorporating a read receipt into my email so that I know wether the user has read my email or not.

I want all this to be done programmatically using the mail classes in .Net. Any help would be appreciated.

Thanks
Reply With Quote Quick reply to this message  
Join Date: Jan 2009
Posts: 10
Reputation: AnilReddy is an unknown quantity at this point 
Solved Threads: 0
AnilReddy AnilReddy is offline Offline
Newbie Poster

Re: Delivery failures and Read Receipt in sendmail in .Net

 
0
  #2
Jan 6th, 2009
Hii
you can try using the following code

SmtpClient cls = new SmtpClient("Your N/W IP or your sys IP");

cls.SendCompleted += new SendCompletedEventHandler(cls_SendCompleted);
In this event you can chk the status of System.ComponentModel.AsyncCompletedEventArgs

You can write a condition
if (e.Cancelled)
{
Now you can do your operations here....
}

Hope this helps you....
Regards
Anil Reddy
Last edited by AnilReddy; Jan 6th, 2009 at 2:50 am.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Other Threads in the ASP.NET Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC