MailMessageConfirmRead Property |
Namespace: MailBee.Mime
The value of this property is taken from Disposition-Notification-To header. Usually it will contain the same e-mail address as From or ReplyTo field.
Note |
---|
This property will not have effect if the e-mail client software of the recipient does not support this feature. |
To get or set the delivery confirmation, the developer should use ConfirmReceipt property.
using MailBee; using MailBee.Pop3Mail; using MailBee.Mime; using System; class Sample { static void Main(string[] args) { // Download the first mail message from the specified POP3 account. MailMessage msg = Pop3.QuickDownloadMessage("pop3.mail.com", "kathy1981", "password", 1); // Show the e-mail address of recipient of the read confirmation message. if (msg.ConfirmRead != String.Empty) { Console.WriteLine("Send read confirmation to " + msg.ConfirmRead); } else { Console.WriteLine("There is no read confirmation recipient available"); } } }