2.2.3.12 Mail Received This Week
The template for a search that finds messages received during the current week has the following characteristics and settings:
Template ID: 13
Folders excluded: Sync Issues folder ([MS-OXOSFLD] section 2.2.1), Deleted Items folder, Junk E-mail folder, Drafts folder, Outbox folder, Sent Items folder
Items excluded: Appointments, contacts, distribution lists, journal items, sticky notes, tasks
Value of the PidTagSearchFolderStorageType property (section 2.2.1.2.6): 0x00002048 (flags B, E, and K)
The affected fields of the PidTagSearchFolderDefinition property (section 2.2.1.2.8) are as follows:
FolderList2: An EntryList structure ([MS-OXCDATA] section 2.3.1) that contains the folders to be searched. This will include all mailbox folders, except the ones specifically excluded by this template.
SearchRestriction: A Restriction structure (section 2.2.1.2.8.2) that describes messages received on or after the first day of the current week but no later than seven days after the first day of the week. The first day of the week is determined by computer locale settings but can potentially be overridden by the user.