MailboxAddressDomain Property

Get the domain of the email address.

Definition

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

Property Value

String
The domain portion of the mailbox address.

Remarks

Gets the domain of the email address.

The domain is preserved exactly as it was parsed or set. Use GetDomain(Boolean) to get the domain in its IDN-encoded (ASCII) or internationalized (Unicode) form.

See Also