 | ReceivedFrom Property |
Get or set the name of the source host.
Namespace: MimeKitAssembly: MimeKit (in MimeKit.dll) Version: 4.17.0
Syntaxpublic string? From { get; set; }Property Value
StringThe name of the source host if available; otherwise,
.
Exceptions| Exception | Condition |
|---|
| 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