item move to folder

  • Thread starter Thread starter Ashish
  • Start date Start date
it's outlook addin in c++.
version is 2003.
I have implemented context menu there like right click on mail and select
reply,replyall etc for these cases
but need to implment for item move. because outlook send save event(not move
event) in onsyncsave when move a mail into any other folder
 
With Outlook 2003 you will need to get the MAPIFolder.Items collection of
any folder you want to monitor for items being moved/added to it and handle
the ItemAdd() event for each of those Items collections.

ItemRemove() on the Items collection of source folders will fire after the
item is moved and won't give you a handle to what was moved, so that
wouldn't help you.
 
Back
Top