Click or drag to resize
MimeKit

ReceivedFrom Property

Get or set the name of the source host.

Namespace: MimeKit
Assembly: MimeKit (in MimeKit.dll) Version: 4.17.0
Syntax
C#
public string? From { get; set; }

Property Value

String
The name of the source host if available; otherwise, .
Exceptions
ExceptionCondition
ArgumentException The value is not a valid domain name or address literal.
Remarks
Gets or sets the "from" clause which identifies the name of the sending host as presented in the HELO or EHLO SMTP command. This may be a domain name or an address literal (e.g., [192.168.1.1]).
See Also