Discussion:
Outlook 2003 ItemAdd event does not execute sometimes
(too old to reply)
hiteshgoldeneye
2009-07-06 12:53:35 UTC
Permalink
Hi I have written some code to log mail details, using Outlook vba. I
have use the ItemAdd event, but to my surprise i saw that a couple of
mails did not get logged today during a particular time interval- I am
confused as to how this could happen, any ideas?
Ken Slovak - [MVP - Outlook]
2009-07-06 14:50:45 UTC
Permalink
ItemAdd(), along with many other MAPI based events, won't fire if more than
16 items come in at once. That could be a possibility.
--
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
Post by hiteshgoldeneye
Hi I have written some code to log mail details, using Outlook vba. I
have use the ItemAdd event, but to my surprise i saw that a couple of
mails did not get logged today during a particular time interval- I am
confused as to how this could happen, any ideas?
hiteshgoldeneye
2009-07-09 08:03:27 UTC
Permalink
HI Ken,
but as i mentioned there were only a couple of mails that had not even
come together, but the itemadd event failed to log them :(
Post by Ken Slovak - [MVP - Outlook]
ItemAdd(), along with many other MAPI based events, won't fire if more than
16 items come in at once. That could be a possibility.
--
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
Post by hiteshgoldeneye
Hi I have written some code to log mail details, using Outlook vba. I
have use the ItemAdd event, but to my surprise i saw that a couple of
mails did not get logged today during a particular time interval- I am
confused as to how this could happen, any ideas?- Hide quoted text -
- Show quoted text -
Ken Slovak - [MVP - Outlook]
2009-07-09 13:47:33 UTC
Permalink
Is this reproducible at all, has it happened more than once?

Is it possible that your ItemAdd() handler is taking enough time to run its
code that subsequent ItemAdd() events might not fire?
--
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


"hiteshgoldeneye" <***@gmail.com> wrote in message news:606a4646-6f3f-42b9-9f65-***@l31g2000yqb.googlegroups.com...
HI Ken,
but as i mentioned there were only a couple of mails that had not even
come together, but the itemadd event failed to log them :(
Loading...