Address Collection. Add(String) Method
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Add a list of email addresses to the collection.
public: void Add(System::String ^ addresses);
public void Add (string addresses);
override this.Add : string -> unit
Public Sub Add (addresses As String)
The email addresses to add to the MailAddressCollection. Multiple email addresses must be separated with a comma character (",").
addresses parameter is null.
addresses parameter is an empty string.
addresses parameter contains an email address that is invalid or not supported.
If multiple email addresses separated with a semicolon character (";") are passed in the
addresses parameter. a FormatException exception is raised.