Events and Message Store add

T

Tom

Hi,

I know how to use _FolderEvents to determine if a new folder is added to the
default message store - be that Outlook with exchange server or without. But
is there a way (event) to determine when a new message store is added like
an IMAP or other messaging service. We are primarily interested in the
Outlook 2003 object model at this time. I know if I get the parent of the
parent for the inbox (MAPIFolder) I get an interface that does not QI to
the MAPIFolder interface. Any help or suggestions would be greatly
appreciated.

Thanks,
Tom -
 
D

Dmitry Streblechenko

Outlook 2007 exposes Namespace.Stores collection, which exposes the StoreAdd
event.
In the previous versions of Outlook, Extended MAPI (use notifications on
IMAPITable returned by IMAPISession::GetMsgStoresTable)) or <plug>Redemption
(RDOSession.Stores collection) </plug> are your only options.
--
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
-
 

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