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 (MVP) http://www.dimastr.com/ OutlookSpy - Outlook, CDO and MAPI Developer Tool -