Platform SDK: MAPI

Retrieving Recipient Properties

To access one or more properties of an address book entry

  1. For each address book entry of interest, call IAddrBook::OpenEntry, passing the entry identifier of the target messaging user or distribution list.
  2. For each address book entry of interest, call the messaging user or distribution list's IMAPIProp::GetProps method with a list of the one or more properties to retrieve.

    – Or –

    Call IAddrBook::PrepareRecips, passing an ADRLIST structure that holds all of the properties for all of the desired address book entries. Because one call to PrepareRecips can return information for multiple address book entries, it is the preferable strategy when you are interested in more than one recipient.