ReceivedBy Property

Get or set the name of the receiving host.

Definition

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

Property Value

String
The name of the receiving host if available; otherwise, .

Remarks

Gets or sets the "by" clause which identifies the name of the receiving SMTP server that accepted the message. This may be a domain name or an address literal (e.g., [192.168.1.1]).

Exceptions

ArgumentException The value is not a valid domain name or address literal.

See Also