Welcome to MSDN Blogs Sign in | Join | Help

Outlook 2007 RTM Docs - Properties

[This is now documented here: http://msdn.microsoft.com/en-us/library/bb927656.aspx, http://msdn.microsoft.com/en-us/library/bb905130.aspx, http://msdn.microsoft.com/en-us/library/bb821179.aspx]

(Now that Outlook 2007 is available I'm reposting some of the articles from the Outlook 2007 Beta Documentation series. Some of the articles are virtually unchanged, others are completely different to reflect the differences between Beta and RTM. This article is the updated version of the second half of Outlook 2007 Beta Documentation - Notification Based Indexing Support.)

New properties used by the MAPI PH

#define PR_PROVIDER_ITEMID           PROP_TAG(PT_BINARY,  0x0EA3)
#define PR_PROVIDER_PARENT_ITEMID    PROP_TAG(PT_BINARY,  0x0EA4)
These properties are used to identify an item or a folder by the store provider. They are retrieved when the store provider gets the search results from the search engine and are used to identify which items matched the query. Store providers can provide provider specific values for these properties but their values shouldn’t change between sessions otherwise they won’t know how to map the items when getting search results.
#define PR_SEARCH_OWNER_ID           PROP_TAG(PT_LONG,    0x3419)
Used by the MAPI PH to know which process is pushing URLs to be indexed.
#define PR_ADDITIONAL_REN_ENTRYIDS    PROP_TAG(PT_MV_BINARY, 0x36D8)
This is a multivalued property which contains entry IDs for certain special folders. The first 5 (0-4) entries in this multivalued property are as follows:
0 - Conflicts folder
1 - Sync Issues folder
2 - Local Failures folder
3 - Server Failures folder
4 - Junk E-mail Folder

The following properties are used in MAPI restrictions:

#define PR_SEARCH_ATTACHMENTS_W      PROP_TAG(PT_UNICODE, 0x0EA5) 
Used when searching for attachment contents.
#define PR_SEARCH_RECIP_EMAIL_TO_W   PROP_TAG(PT_UNICODE, 0x0EA6)
Used when searching for email address or display names the message was sent to.
#define PR_SEARCH_RECIP_EMAIL_CC_W   PROP_TAG(PT_UNICODE, 0x0EA7)
Used when searching for email address or display names the message was Cc’ed.
#define PR_SEARCH_RECIP_EMAIL_BCC_W  PROP_TAG(PT_UNICODE, 0x0EA8)
Used when searching for email address or display names the message was Bcc’ed. This is only interesting for messages not yet sent otherwise the BCC information will not be there.

Named properties used by the MAPI PH

The following named properties are indexed by the MAPI PH. These properties are documented as read-only. They should not be used to create or modify items.

These GUIDs represent the name spaces of the named properties

const GUID PSETID_Appointment   = {0x00062002, 0x0000, 0x0000, {0xC0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x46}};
const GUID PSETID_Task          = {0x00062003, 0x0000, 0x0000, {0xC0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x46}};
const GUID PSETID_Address       = {0x00062004, 0x0000, 0x0000, {0xC0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x46}};
const GUID PSETID_Common        = {0x00062008, 0x0000, 0x0000, {0xC0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x46}};
const GUID PSETID_Log           = {0x0006200A, 0x0000, 0x0000, {0xC0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x46}};
const GUID PS_PUBLIC_STRINGS    = {0x00020329, 0x0000, 0x0000, {0xC0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x46}};
const GUID PS_INTERNET_HEADERS  = {0x00020386, 0x0000, 0x0000, {0xC0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x46}};

MNID_ID properties:

// In PSETID_Address
#define dispidWorkAddressStreet 0x8045
#define dispidWorkAddressCity 0x8046
#define dispidWorkAddressState 0x8047
#define dispidWorkAddressPostalCode 0x8048
#define dispidWorkAddressCountry 0x8049
#define dispidInstMsg 0x8062
#define dispidEmailDisplayName 0x8080
#define dispidEmailOriginalDisplayName 0x8084

// In PSETID_Task
#define dispidTaskStartDate 0x8104
#define dispidTaskDueDate 0x8105
#define dispidTaskActualEffort 0x8110
#define dispidTaskEstimatedEffort 0x8111
#define dispidTaskFRecur 0x8126

// In PSETID_Appointment
#define dispidLocation 0x8208
#define dispidApptStartWhole 0x820D
#define dispidApptEndWhole 0x820E
#define dispidApptDuration 0x8213
#define dispidRecurring 0x8223
#define dispidAllAttendeesString 0x8238
#define dispidToAttendeesString 0x823B
#define dispidCCAttendeesString 0x823C

// In PSETID_Common
#define dispidReminderSet 0x8503
#define dispidSmartNoAttach 0x8514
#define dispidCommonStart 0x8516
#define dispidCommonEnd 0x8517
#define dispidRequest 0x8530
#define dispidCompanies 0x8539
#define dispidReminderNextTime 0x8560

// In PSETID_Log (also known as Journal)
#define dispidLogType 0x8700
#define dispidLogStart 0x8706
#define dispidLogDuration 0x8707
#define dispidLogEnd 0x8708

MNID_STRING properties

// In PS_PUBLIC_STRINGS 
"Keywords" 

// In PS_INTERNET_HEADERS
"return-path"
Published Tuesday, March 06, 2007 1:08 PM by Stephen Griffin

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

# re: Outlook 2007 RTM Docs - Properties

Does this mean we could modify the search to include custom field names? Or is this just a reference to what is indexed?

Also, is there a reason why 'Edit Message' was left off of a post form but not the email form?

Normally when you create a post you can edit the message body after it is saved and reopened.

Monday, March 19, 2007 12:15 PM by Gary

# re: Outlook 2007 RTM Docs - Properties

This is just a reference.

On a post message, it's always been called "Revise Message". It's still there in 2007.

Monday, March 19, 2007 3:34 PM by Stephen Griffin

# Next Week Is MUCH Better For Me

This is just an interesting little nugget I was asked to document today. Suppose you're writing some

Friday, June 29, 2007 12:17 PM by SGriffin's [MSFT] WebLog

# Don't Crawl On Me

There are a few places in Outlook that need to enumerate the folders in the message stores in a profile.

Tuesday, July 10, 2007 11:21 AM by SGriffin's [MSFT] WebLog

# re: Outlook 2007 RTM Docs - Properties

Hello Griffin,

Is there a special property in Outlook 2007 to specify the entryID for the default "RSS Feeds" folder? Otherwise, how Outlook 2007 recognize if a default "RSS Feeds" folder has already been created for a new profile?

I was wondering if Outlook 2007 uses a way similar as Junk-Email folder to store the entryID somewhere for "RSS Feeds" special folder, but I cannot find any property related to this...

Thursday, November 01, 2007 1:39 PM by Hai

# re: Outlook 2007 RTM Docs - Properties

The RSS entry ID is indeed cached, but not in a place where it's easy to get to. We looked at whether we could document the format of the property where it was cached and decided it was too complicated/finicky to document. Sorry.

Thursday, November 01, 2007 3:28 PM by Stephen Griffin

# re: Outlook 2007 RTM Docs - Properties

Outlook 2003 had a 'Edit message" if you right click the message body (HTML format).

Why does the 'Revise Contents' delete and re-create the item? We use item level security and this causes problems because the item is already set with permissions and cannot be recreated.

Is there any workaround to editing the post item message body?

Tuesday, August 05, 2008 10:55 AM by so2442

# re: Outlook 2007 RTM Docs - Properties

Hai -

The information you are looking for is part of a binary blob found in the PR_ADDITIONAL_REN_ENTRYIDS_EX property, retrievable off of the root folder of the mailbox (in Online mode - it may also be there in Cached mode). It contains several Entry IDs, one of which points to the RSS Feeds folder.

Griffin -

I noticed that the documentation on the PR_ADDITIONAL_REN_ENTRYIDS property is incomplete - there are actually 6 entries in the SBinaryArray. What does the 6th entry correspond to, and/or can it be safely excluded when regenerating the PR_ADDITIONAL_REN_ENTRYIDS programatically?

Friday, August 29, 2008 2:43 PM by Scott

# re: Outlook 2007 RTM Docs - Properties

Hai -

Scott here. Minor correction to my previous post - in Cached mode, the PR_ADDITIONAL_REN_ENTRYIDS_EX property exists on the Inbox, not the root folder. Sorry for any confusion I might have caused.

Friday, August 29, 2008 2:54 PM by ScottH_001

Leave a Comment

(required) 
required 
(required) 
 
Page view tracker