3.1.4.1.3 Creating the Tracked Mail Processing Folder

To complete creation of the Tracked Mail Processing folder, a client SHOULD<6> set the search criteria for the Tracked Mail Processing folder. The search criteria are composed of restriction structures, as specified in [MS-OXCDATA] section 2.12. The search criteria are set by using the Folder Object Protocol, as specified in [MS-OXCFOLD], such that the Top of Personal Folders folder is the only container included in the search and the search applies a RES_AND restriction with the following two subclauses.

First, a RES_AND restriction with any of the following subclauses. Each of these subclauses is included in the RES_AND restriction only if the special folder exists within the message store. For example, if only the Drafts folder exists, then only the RES_PROPERTY subclause for the Drafts folder is included in the RES_AND restriction.

  • A RES_PROPERTY restriction with a relational operator value of RELOP_NE, comparing the value of the PidTagParentEntryId property ([MS-OXCFOLD] section 2.2.2.2.1.7) with the FID ([MS-OXCDATA] section 2.2.1.1)/MID ([MS-OXCDATA] section 2.2.1.2) pair of the Deleted Items folder.

  • A RES_PROPERTY restriction with a relational operator value of RELOP_NE, comparing the value of the PidTagParentEntryId property with the FID/MID pair of the Junk E-mail folder.

  • A RES_PROPERTY restriction with a relational operator value of RELOP_NE, comparing the value of the PidTagParentEntryId property with the FID/MID pair of the Drafts folder.

  • A RES_PROPERTY restriction with a relational operator value of RELOP_NE, comparing the value of the PidTagParentEntryId property with the FID/MID pair of the Outbox folder.

  • A RES_PROPERTY restriction with a relational operator value of RELOP_NE, comparing the value of the PidTagParentEntryId property with the FID/MID pair of the Conflicts folder.

  • A RES_PROPERTY restriction with a relational operator value of RELOP_NE, comparing the value of the PidTagParentEntryId property with the FID/MID pair of the Local Failures folder.

  • A RES_PROPERTY restriction with a relational operator value of RELOP_NE, comparing the value of the PidTagParentEntryId property with the FID/MID pair of the Server Failures folder.

  • A RES_PROPERTY restriction with a relational operator value of RELOP_NE, comparing the value of the PidTagParentEntryId property with the FID/MID pair of the Sync Issues folder.

Second, a RES_AND restriction with the following two subclauses:

  • A RES_EXIST restriction that specifies the PidTagSwappedToDoStore property ([MS-OXOFLAG] section 2.2.1.8).

  • A RES_BITMASK restriction with the BitMapRelOp field set to of BMR_EQZ to compare the value of the PidTagMessageFlags property ([MS-OXPROPS] section 2.793) to the ULONG ([MS-DTYP]) value that is the bitwise OR combination of mfUnsent and mfSubmitted.

The search SHOULD provide the client with the information when requested, include child folders, and run without content indexing.