Partager via


MAPI Address Types

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Every messaging user is associated with an address type, a character string describing the format of the user's address that is stored in the PR_ADDRTYPE (PidTagAddressType) property. Address types map to address formats. That is, by looking at a recipient's address type, client applications can determine how to format an address appropriate for the recipient.

For example, the SMTP address type specifies the standard Internet address:

username@companyname.com.

And, the EX address type specifies an Exchange Server address.

All address book entries must have a valid address type. Clients require their users to specify an address type when creating a type of custom recipient unsupported by the address book provider. For the entries that they support, address book providers are required to supply valid address types.

MAPI defines only one address type: MAPIPDL, which stands for personal distribution list.

To get a list of the address types supported by all of the transport providers in the session, client applications call the IMAPISession::EnumAdrTypes method. For more information, see IMAPISession::EnumAdrTypes.