Seacrh Folders in Outlook 2003

  • Thread starter Thread starter Sanjay Singh
  • Start date Start date
S

Sanjay Singh

I have some code that scans through e-mails in any folder that the user
selects. Code works fine in Outlook 2000 and 2002. However Search Folders
introduced in Outlook 2003 are creating a problem.

How can I detect if a folder is a SearchFolder. This may or may not be
selected in the Active Explorer at the time.

Thanks in advance
Sanjay
 
The folder property PR_FOLDER_TYPE (0x36010003) = 2 for a FOLDER_SEARCH. You
can get that property using CDO 1.21, Extended MAPI or Redemption. A normal
folder = 1.
 
Back
Top