EmailAddressParse Method
Parses an e-mail address string and returns EmailAddress object which represents the given e-mail addresses.

Namespace: MailBee.Mime
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 11.2.0 build 590 for .NET 4.5
Syntax
public static EmailAddress Parse(
	string addressString
)

Parameters

addressString
Type: SystemString
The full e-mail address string (with optional remarks and friendly name) to parse.

Return Value

Type: EmailAddress
EmailAddress object representing addressString address.
Examples
This sample creates a new instance of EmailAddress object from string.
// To use the code below, import MailBee namespaces at the top of your code.
using MailBee;
using MailBee.Mime;

EmailAddress adr = EmailAddress.Parse("User <user@domain.com>");
Console.WriteLine(adr.DisplayName);
Console.WriteLine(adr.Email);
See Also