EmailAddressCollectionParse Method
Creates a new EmailAddressCollection instance from the specified string containing the list of e-mail addresses.

Namespace: MailBee.Mime
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 12.2.0 build 630 for .NET 4.5
public static EmailAddressCollection Parse(
	string addressString


Type: SystemString
The string specifying the list of the e-mail addresses delimited with comma (,) or semicolon (;).

Return Value

Type: EmailAddressCollection
EmailAddressCollection object representing addressString addresses.
This sample creates a new collection of full e-mail addresses and displays each actual e-mail address.
// To use the code below, import MailBee namespaces at the top of your code.
using MailBee;
using MailBee.Mime;

EmailAddressCollection adrs =
    EmailAddressCollection.Parse(@"User1 <>,");
foreach (EmailAddress adr in adrs)
See Also