![]() |
| ||
| Delivery failures and Read Receipt in sendmail in .Net 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 |
| ||
| Re: Delivery failures and Read Receipt in sendmail in .Net 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 |
| All times are GMT -4. The time now is 1:10 am. |
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC