Deleting items in Outl2k2 and 16

  • Thread starter Vladimir Chtchetkine
  • Start date
V

Vladimir Chtchetkine

Is 16 a magic number for item deletion? I have a hook to Items events on
"Deleted Items" folder and its ItemAdd event is fired for every deleting
item except. Except if I'm deleting more than 16 items at the same time
(select 17 items and press "Delete"). In this case no ItemAdd is fired at
all. I just wander what is going on? I need to monitor item deletion and the
best place would be to hookup to ItemAdd event in "Deleted Items" folder.
Other methods (to the best of my knowledge) seem to be too expensive and /
or ambiguous.



TIA,



Vladimir
 
D

Dmitry Streblechenko

Extended MAPI events are a simple FYI *not* designed for any kind of
synchronization.
On the Extended MAPI level, if there are too many notifications (>16),
Exchange provider fires
TABLE_CHANGED notification instead of TABLE_ROW_MODIFIED used by the ItemAdd
event.
TABLE_CHANGED notification is not exposed by Outlook.

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
 
V

Vladimir Chtchetkine

Thanks, Dmitry!

I've hooked up to FolderChanged event and that helps (a bit). Although, of
course, I would prefer much lover level of granularity. But hey, nobody
promised that life would be easy :)
Regards,
Vladimir
 

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