Outlook
(1)
IMapiFolder
(1)
OutlookSpy
(1)
Contactfolder
(1)
Greets
(1)

Discover if the selected folder is a mail folder

Asked By Hans Schmidt
14-Nov-09 05:15 PM
Hello,

i want to discover if the selected folder is a mail folder. Therefore
i had a look at the Properties of the IMapiFolder with OutlookSpy.
For example in a Contactfolder there is the property
PR_CONTAINER_CLASS IPF.Contact
But in mail folders i cannot find anything which leads to the
conclusion that this is a mail folder.
How can i discover that?

Thanks in advance and greets Hans

If PR_CONTAINER_CLASS is not set, assume IPF.Note.

Dmitry Streblechenko replied to Hans Schmidt
15-Nov-09 10:28 AM
If PR_CONTAINER_CLASS  is not set, assume IPF.Note.

--
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy  - Outlook, CDO
and MAPI Developer Tool
-
Post Question To EggHeadCafe