System.Net.Mail.MailAddressCollection Class

Store e-mail addresses that are associated with an e-mail message.

See Also: MailAddressCollection Members


public class MailAddressCollection : System.Collections.ObjectModel.Collection<MailAddress>


The MailMessage.To, MailMessage.CC, and MailMessage.Bcc properties return instances of this class that are used to hold the respective e-mail addresses.

For details on the mail address formats supported by the System.Net.Mail.MailAddressCollection class, see the System.Net.Mail.MailAddress class.


Namespace: System.Net.Mail
Assembly: System (in System.dll)
Assembly Versions:,
Since: .NET 2.0