Cross Message Store copy or move

K

Kevin

Is there anyway to get notifications or events of cross message store copies
or moves either through an Exchange Client Extension or an Outlook Com
Add-in?

Thanks in advance,

Kevin
 
K

Ken Slovak - [MVP - Outlook]

For an ECE you should ask in microsoft.public.win32.programmer.messaging,
that's where the MAPI
programmers hang out.

For the Outlook object model you can subscribe to events in any folder in
any open store, so you could handle Folder.Items.ItemAdd() in any loaded
folder. You can handle Folder.Items.ItemRemove() in any likely source folder
but that event fires after the item was moved/deleted and doesn't tell you
what item was affected.

For Outlook 2007 you can use the Folder.BeforeItemMove() event which tells
you which item will be moved and where. If the second parameter is null that
means the item is being deleted. That event can also be canceled.
 

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