ReceivedFor Property

Get or set the recipient address for which the message was received.

Definition

Namespace: MimeKit
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
C#
public string? For { get; set; }

Property Value

String
The recipient address if available; otherwise, .

Remarks

Gets or sets the "for" clause which specifies the recipient mailbox address for which the message was accepted. This is particularly useful when a single message has multiple recipients.

Exceptions

ArgumentException The value is not a valid mailbox address.

See Also