ASP.NET (35) SQL (25) JAVASCRIPT (24) HTML (14) STYLE SHEET (6) ASP (4) SCRIPT (1)

Search me out HERE!!

How to request READ RECEIPT in email in ASP.Net

Many email clients such as outlook has a feature that allows you to request a receipt when your email is read by the recipient(s).
It can be achieved in asp.net generated emails using additional header called Disposition-Notification-To
Here is simple code:

MailMessage email = new MailMessage(fromAddress, toAddress);
email.Headers.Add("Disposition-Notification-To", receiptToEmailAddress); //Use email address on which you want receive the receipt

No comments:

Post a Comment