Recipient Object
Description
Represents a user or resource in Outlook, generally a mail message addressee.
Using the Recipient Object
Use Recipients(index), where index is the name or index number, to return a single Recipient object.
Use the Add method to create a new Recipient object and add it to the Recipients collection. The Type property of a new Recipient object is set to the default for the associated AppointmentItem, JournalItem, MailItem or TaskItem object and must be reset to indicate another recipient type.
The following example creates a new MailItem object and adds "Jon Grande" as the recipient using the default type ("To").
Set myItem = myOlApp.CreateItem(olMailItem)
Set myRecipient = myItem.Recipients.Add "Jon Grande"
The following example creates the same MailItem object as the preceding example, and then changes the type of the Recipient object from the default ("To") to "CC."
Set myItem = myOlApp.CreateItem(olMailItem)
Set myRecipient = myItem.Recipients.Add "Jon Grande"
Set myRecipient.Type = olCC
Properties
Address property, Application property, AutoResponse property, EntryID property, MeetingResponseStatus property, Name property, Parent property, Resolved property, TrackingStatus property, TrackingStatusTime property, Type property.
Methods
Delete method, FreeBusy method, Resolve method.