Non Mail Folders

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?!!
 
K

Ken Slovak - [MVP - Outlook]

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top