PC Review


Reply
Thread Tools Rate Thread

Events and Message Store add

 
 
Tom
Guest
Posts: n/a
 
      17th Jul 2008
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 -



 
Reply With Quote
 
 
 
 
Dmitry Streblechenko
Guest
Posts: n/a
 
      18th Jul 2008
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 -
>
>
>



 
Reply With Quote
 
Tom
Guest
Posts: n/a
 
      23rd Jul 2008
Thanks Dmitry - I used the Advise on the message stores table and it worked
great.



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

>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: Message Store Karen Windows Vista Mail 1 4th Apr 2009 05:43 PM
Re: MS Message Store Windows Vista Mail 0 11th May 2008 04:18 PM
Message Store Willy Windows Vista Mail 2 4th Jul 2007 10:57 PM
Using .pst, want to use message store instead roninfromde@yahoo.com Microsoft Outlook Discussion 0 17th Aug 2006 03:40 PM
Outlook Message when trying to store message in personal folders =?Utf-8?B?U3RhY3kgSC4=?= Microsoft Outlook Discussion 0 11th Feb 2004 09:16 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:56 PM.