Non Mail Folders

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello,
In Outlook navigation pane, there is a "Folder List" and a "Mail". Some
folders shown in the Folders List and not shown in the Mail list.
I want to know from my add-in, if any folder is shown in the Mail list or
not. Now, I distinguish between these folders by the "PR_CONTAINER_CLASS"
Mapi property. But when I tried the Exchange account, I encountered troubles.
In the Folders List you see a main folder (OST) called "Public Folders", and
this folder not shown in the Mail list knowing that this folder doesn't have
the PR_CONTAINER_CLASS property, any way this folder have the OOM property
"Default Message Class" set to IPM.Post (6), so I can distinguish using OOM.
But the main problem is with the "Sync Issues" folder located in the Mailbox
OST. This folder doesn't have the PR_CONTAINER_CLASS and Default Message
Class is IPM.Note (0)... So, how can I know that I should ignore this
folder?!!
 
The Mail section of the folder list is only for mail folders. Public folders
are in a different store than the mailbox or any PST files, that's how you
distinguish that. There are no intrinsic differences between special folders
such as a sync error folder and any other folders that hold email items.
 
Back
Top