Gets or sets the value of all items in the EmailArray.
| Exception Type | Condition |
|---|---|
| ArgumentNullException | Value is set with a null reference (Nothing in Visual Basic). |
| MailMillException | Value is set with an invalid email address. |
This sample show how to get the value of the entire EmailArray.
EmailArray ea = new EmailArray();
ea.Add("daniel@emilltest.com");
ea.Add("philippe@emilltest.com");
Console.WriteLine(ea.Value);
/* This code produces the following output:
daniel@emilltest.com,philippe@emilltest.com*/
EmailArray Class | MailMill Namespace | ToString | operator string