← Interactive API Explorer
Namespace: System.Net.Mail

MailAddressCollection

Store email addresses that are associated with an email message.

Methods (2)

void Add(String)
Add a list of email addresses to the collection.
ParameterDescription
addressesThe email addresses to add to the MailAddressCollection. Multiple email addresses must be separated with a comma character (",").
String ToString
Returns a string representation of the email addresses in this MailAddressCollection object.
Returns: A String containing the email addresses in this collection.