Detecting which items was deleted

  • Thread starter Thread starter Semut
  • Start date Start date
S

Semut

Hello,

Is there a way to detect which particular item was deleted? I know that
ItemRemove event could detect when there are deletion(s) but I need to know
which items are being deleted.

thank you.
 
Only if the item was deleted into the Deleted Items folder. Then you can
trap ItemAdd on that folder's Items collection. Hard deleting an item
(Shift+Delete) or deleting it using CDO or MAPI code won't provide you with
that information. Other than that you'd have to monitor all items in the
folder and compare to see which one or ones are missing after ItemRemove
fires.
 
Back
Top