ISendRequestSender Property

Get or set the mailbox address to use as the envelope sender.

Definition

Namespace: MailKit
Assembly: MailKit (in MailKit.dll) Version: 5.0.0
C#
MailboxAddress? Sender { get; set; }

Property Value

MailboxAddress
The envelope sender or if it should be determined from the message headers.

Remarks

Gets or sets the mailbox address to use as the envelope sender.

If , the sender address is determined by checking the following message headers (in order of precedence): Resent-Sender, Resent-From, Sender, and From.

See Also