| IMailTo Property |
Gets the address(es) of the primary recipient(s) of this email message ('To' header).
In this collection you can find
MailBox which represents single mailbox, or
MailGroup which represents group of email addresses.
This collection can be modified. May be empty.
Namespace:
Limilabs.Mail
Assembly:
Mail (in Mail.dll) Version: 3.0.23341.1754
Syntax IList<MailAddress> To { get; }
ReadOnly Property To As IList(Of MailAddress)
Get
property IList<MailAddress^>^ To {
IList<MailAddress^>^ get ();
}
abstract To : IList<MailAddress> with get
Property Value
Type:
IListMailAddressRemarks
You can use LINQ's
To.SelectMany(address => address.GetMailboxes())
to retrieve
MailBox list.
See Also