ReceivedWith Property

Get or set the protocol or mechanism used to receive the message.

Definition

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

Property Value

String
The protocol identifier if available; otherwise, .

Remarks

Gets or sets the "with" clause which indicates the mail protocol (e.g., "SMTP", "ESMTP", etc) used during the message transmission.

Exceptions

ArgumentException The value is not a valid atom token.

See Also