PidTagIpmDraftsEntryId Canonical Property
Applies to: Outlook 2013 | Outlook 2016
Contains the EntryID of the Outlook Drafts folder.
Property | Value |
---|---|
Associated properties: |
PR_IPM_DRAFTS_ENTRYID |
Identifier: |
0x36D7 |
Data type: |
PT_BINARY |
Area: |
Folder |
Remarks
This property is stored in the Inbox folder as well as the root folder of the message store. To access the property on a specific message store, do the following:
First, look for the property in the Inbox folder. Use IMsgStore::GetReceiveFolder to obtain a reference to the EntryID for the Inbox folder.
If IMsgStore::GetReceiveFolder is successful, then use the reference to the EntryID of the Inbox and IMsgStore::OpenEntry to open the Inbox and obtain a reference to an IMAPIFolder object.
If IMsgStore::OpenEntry is successful, then use the returned reference to the IMAPIFolder object and IMAPIProp::GetProps to obtain the desired property.
If Step 1, 2, or 3 fails, look for the property in the root folder. To do that, use IMsgStore::OpenEntry, specifying NULL for lpEntryID, to open the root folder of the message store and obtain a reference to the IMAPIFolder object.
If opening the root folder is successful, then use the returned reference to the IMAPIFolder object and IMAPIProp::GetProps to obtain the desired property.
Related resources
Protocol specifications
Provides references to related Exchange Server protocol specifications.
Specifies the properties and operations for creating and locating the special folders in a mailbox.
Header files
Mapidefs.h
Provides data type definitions.
Mapitags.h
Contains definitions of properties listed as alternate names.