Outlook Banter

Outlook Banter (http://www.outlookbanter.com/)
-   Add-ins for Outlook (http://www.outlookbanter.com/add-ins-outlook/)
-   -   Non Mail Folders (http://www.outlookbanter.com/add-ins-outlook/56592-non-mail-folders.html)

MON205[_2_] September 11th 07 07:56 AM

Non Mail Folders
 
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?!!

Ken Slovak - [MVP - Outlook] September 11th 07 03:06 PM

Non Mail Folders
 
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.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"MON205" wrote in message
...
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?!!




All times are GMT +1. The time now is 12:26 PM.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2006 OutlookBanter.com