Return the number of recipients for the current message.
Syntax
object.Recipients
Remarks
The Recipients property returns the number of recipients
for the current message. This value can be used in conjunction with
the Recipient property array to enumerate the recipient email
addresses for the current message.
Example
The following example enumerates all of the recipients for the
current message and adds them to a listbox:
For nIndex = 0 To InternetMail1.Recipients
List1.AddItem InternetMail1.Recipient(nIndex)
Next
Data Type
Integer (Int32)
See Also
Recipient Property
|