MailMessageConfirmReceipt Property
Gets or sets the e-mail address of an entity which should receive the delivery confirmation message (when the message gets into mailbox of the server).

Namespace: MailBee.Mime
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 12.5.0 build 687 for .NET 4.5
Syntax
public string ConfirmReceipt { get; set; }

Property Value

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

The value of this property is taken from Return-Receipt-To header. Usually (if set) 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 server software of the recipient does not support this feature.

Another method of requesting delivery receipt is using mailer.DeliveryNotification.NotifyCondition = DsnNotifyCondition.Always (assuming mailer is an instance of Smtp class).

To get or set the read confirmation, the developer should use ConfirmRead property.
Examples
This sample creates new mail message, sets the e-mail address of delivery confirmation message recipient, and saves this message to disk.
using MailBee;
using MailBee.Mime;
using System;

class Sample
{
    static void Main(string[] args)
    {
        MailMessage msg = new MailMessage();

        // Set the e-mail address of confirmation message recipient.
        msg.ConfirmReceipt = "jdoe@domain.com";

        // Save message to the specified .eml file.
        msg.SaveMessage(@"C:\Temp\MyMail.eml");
    }
}
See Also