| | |
Delivery failures and Read Receipt in sendmail in .Net
Please support our ASP.NET advertiser: $4.95 a Month - ASP.NET Web Hosting – Click Here!
![]() |
•
•
Join Date: Jan 2009
Posts: 1
Reputation:
Solved Threads: 0
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
I want all this to be done programmatically using the mail classes in .Net. Any help would be appreciated.
Thanks
•
•
Join Date: Jan 2009
Posts: 10
Reputation:
Solved Threads: 0
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
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.
![]() |
Other Threads in the ASP.NET Forum
- Previous Thread: Deploying an asp.net appln
- Next Thread: Screen Capturing in a Web Application
| Thread Tools | Search this Thread |
.net 2.0 3.5 activexcontrol ajax alltypeofvideos asp asp.net bc30451 beginner bottomasp.net browser businesslogiclayer c# c#gridviewcolumn cac checkbox class commonfunctions compatible confirmationcodegeneration content contenttype countryselector courier dataaccesslayer database datagrid datagridview datagridviewcheckbox datalist deployment development dgv dropdownlist dropdownmenu dynamic dynamically edit embeddingactivexcontrol fileuploader fill findcontrol flash flv formatdecimal forms formview gridview gudi homeedition iis javascript jquery listbox menu microsoft mouse mssql nameisnotdeclared news opera panelmasterpagebuttoncontrols problem redirect registration relationaldatabases reportemail schoolproject security serializesmo.table sessionvariables silverlight smartcard smoobjects software sql sql-server sqlserver2005 ssl textbox tracking treeview unauthorized validatedate validation vb.net video videos vista visual-studio visualstudio web webapplications webarchitecture webdevelopemnt webdevelopment webprogramming webservice youareanotmemberofthedebuggerusers





