MailMessageConfirmRead Property
Gets or sets the e-mail address of an entity which should receive the read confirmation message.

Namespace: MailBee.Mime
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 12.4 build 677 for .NET 4.5
Syntax
public string ConfirmRead { get; set; }

Property Value

Type: String
A string containing the e-mail address of the entity which should receive the read confirmation message, or an empty string if no read confirmation is set.
Remarks

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 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.

Examples
This sample downloads the first message from the specified POP3 account and displays the e-mail address of read confirmation recipient if any.
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");
        }
    }
}
See Also