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
-
"Tom" <(E-Mail Removed)> wrote in message
news:OS%(E-Mail Removed)...
> 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 -
>
>
>