2.2.3.6 From a Specific Person
The template for a search that finds messages received from specified people has the following characteristics and settings:
Template ID: 7
Folders excluded: Sync Issues folder ([MS-OXOSFLD] section 2.2.1), Deleted Items folder, Junk E-mail folder, Outbox folder, Drafts 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): 0x0000004E (flags B, E, F, and G)
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 from people who are specified by the Addresses field.
Addresses: An AddressList structure (section 2.2.1.2.8.1) that contains the addresses by which to filter received messages.
TextSearch: A list of the names of the people by which to filter received messages.