SocketTools .NET Edition

MailMessage.Recipient Field

Gets the recipients specified in the current message.

[Visual Basic]
Public ReadOnly Recipient As RecipientArray
[C#]
public readonly RecipientArray Recipient;

Remarks

The Recipient array is used to enumerate the recipient addresses that have been specified in the current message. This includes all of the addresses listed in the To, Cc and Bcc header fields. Only the address itself will be returned, not any comments or extraneous text such as the full name of the recipient. This array is zero based, meaning that the first index value is zero. The total number of recipients specified in the message can be determined by checking the value of the Recipients property.

See Also

MailMessage Class | SocketTools Namespace