Partager via


dispidEmailEmailAddress

dispidEmailEmailAddress

Represents the first e-mail address for the Microsoft Office Outlook contact item.

Quick Info

Exposed on: Message objects representing contacts
Created by: Outlook
Accessed by: Outlook and solution providers
Property type: PT_STRING8
Access type: Read-only

Remarks

To retrieve the value of this property, first use IMAPIProp::GetIDsFromNames to obtain the property tag, and then specify this property tag in IMAPIProp::GetProps to get the value. When calling IMAPIProp::GetIDsFromNames, specify the following values for the MAPINAMEID structure pointed at by the input parameter lppPropNames:

lpGuid: PSETID_Address
ulKind: MNID_ID
Kind.lID: dispidEmailEmailAddress

This named property provides an alternative way to obtain the value of the Email1Address property of the ContactItem object in the Outlook object model when you retrieve the property value by using the PropertyAccessor object.

See Also

Constants for Outlook Named Properties

KB 912237: How to use named properties to relate Contact Address Book entries to e-mail messages, e-mail addresses, and picture attachments in Outlook 2003

How to: Get the E-mail Address of a Contact Item