Hunny Software Library Reference

Mailbox.Domain Property

Gets or sets the domain.

[Visual Basic]
Public Property Domain As String
[C#]
public string Domain {get; set;}

Property Value

The domain of the mailbox.

Remarks

When the domain is parsed, white space and comments are removed if they are present. For example, if the mailbox string is

    "John Doe" <john.doe @ example (yeah,right!) . net >

then the domain returned by this method is

    example.net

See Also

Mailbox Class | Hunny.Mime Namespace