View Single Post
  #1  
Old September 1st 09, 05:50 PM posted to microsoft.public.outlook.program_addins
Ashutosh Jogdande
external usenet poster
 
Posts: 10
Default How to catch Message Move Event.

Hi All,

Is there any way to Catch Message Move event through outlook addin, when
message/s are moved by using Email-rules or to Archive folders?

I am able to do this on manual message move by catching ItemRemove on
selected folder.
But while running a rule I am not getting Message Move/Remove event.

Code :
outlookExplorer.CurrentFolder.Items.ItemRemove += new
Microsoft.Office.Interop.Outlook.ItemsEvents_ItemR emoveEventHandler(Items_ItemRemove);


Thanks in advance,
Ashutosh



Ads