Mailbox AddressAddress Property
Get or set the mailbox address.
Definition
Namespace: MimeKit
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
The mailbox address.
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
C#
public string Address { get; set; }Property Value
StringThe mailbox address.
Remarks
Represents the actual email address and is in the form of user@domain.com.
The domain is preserved exactly as it was parsed or set: an IDN-encoded domain (e.g. xn--bcher-kva.example) is not decoded and an internationalized domain (e.g. bücher.example) is not encoded. Use GetAddress(Boolean) to get the address with the domain in a specific form.
Exceptions
| ArgumentNullException | value is . |
| ParseException | value is malformed. |