EmailAddressCollection Constructor (String)
Initializes a new EmailAddressCollection instance from a string containing e-mail addresses.

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


Type: SystemString
The string containing the list of the e-mail addresses delimited with comma (,) or semicolon (;). The e-mail addresses may include display names or remarks.
This sample creates a new collection of the e-mail addresses and displays each address in this collection.
// To use the code below, import MailBee namespaces at the top of your code.
using MailBee;
using MailBee.Mime;

EmailAddressCollection adrs = new EmailAddressCollection(", some one <>, (Comment)");
foreach (EmailAddress address in adrs)
See Also