Adnan’s Blog Read Reciept Request

Posted on: September 28, 2008

Heres a quick tip. If you need to include a request for read receipt like Microsoft Outlook while sending mails through, just add the Disposition-Notification-To Header to the MailMessage.

The MailMessage class does not have a corresponding attribute and thus it has to be set through the Header.

MailMessage mm = new MailMessage(fromAddress, toAddress);
mm.Subject = subject;
mm.Headers.Add("Disposition-Notification-To", sendReadReceiptToAddress);

Please keep in mind that this is only a request, and can be rejected/ignored by the Mail Client/User configuration.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

Top Posts

Blog Stats

  • 4,275 hits

Top Clicks

  • None


View Adnan Rashid's profile on LinkedIn

Adnan Rashid
%d bloggers like this: