A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Add-ins for Outlook
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Non Mail Folders



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old September 11th 07, 07:56 AM posted to microsoft.public.outlook.program_addins
MON205[_2_]
external usenet poster
 
Posts: 33
Default 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?!!
  #2  
Old September 11th 07, 03:06 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default 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?!!


 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
OL2k3 Automatically Adding Public Folders to 'Favorite Folders' list in Mail Ben Outlook - General Queries 0 October 4th 06 04:19 PM
PERSONAL FOLDERS SAY CAN'T ACCESS SPECIFIED FOLDERS CHECKING MAIL WHINNERAH Outlook - Installation 0 September 24th 06 07:12 PM
Is there a way to display Public Folders in the All Mail Folders view? Outlook2003 Cappy Outlook - General Queries 1 July 20th 06 02:20 AM
Is there a way to display Public Folders in the All Mail Folders view? Outlook2003 Cappy Outlook - Installation 1 July 20th 06 02:20 AM
Importing E-Mail Folders - Missing Folders BOHICA Outlook Express 2 April 27th 06 04:07 AM


All times are GMT +1. The time now is 12:29 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-2025 Outlook Banter.
The comments are property of their posters.