PC Review


Reply
Thread Tools Rate Thread

Cross Message Store copy or move

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


 
Reply With Quote
 
 
 
 
Ken Slovak - [MVP - Outlook]
Guest
Posts: n/a
 
      17th Jul 2008
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.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm


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


 
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
Error Message ...move or copy contains the name xx, which alreadyexists.... cardan Microsoft Excel Programming 3 3rd Jul 2009 03:23 AM
Copy and move to end error message - cannot move worksheet Cherna Microsoft Excel Crashes 0 11th Aug 2008 06:36 PM
Rules do not move message, they copy, How to stop this? J Microsoft Outlook 3 13th Sep 2006 01:34 AM
Message rules will copy but not move??? J Microsoft Outlook Discussion 0 8th Sep 2006 09:40 PM
Re: Erro message while using move and copy Ron de Bruin Microsoft Excel Worksheet Functions 0 7th Oct 2003 04:39 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:21 PM.