Hunny Software Library Reference

Mailbox.LocalPart Property

Gets or sets the local part.

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

Property Value

The local part of the mailbox.

Remarks

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

    "John Doe" <  john . (average) doe  @example.net>

then the local part returned by this method is

    john.doe

However, double quote characters are not removed, since they are rarely needed and rarely seen.

See Also

Mailbox Class | Hunny.Mime Namespace