OL2000: ItemAdd Event Doesn't Fire in Some Scenarios (249156)
The information in this article applies to:
This article was previously published under Q249156 SYMPTOMS
You implement the ItemAdd event in your custom solution, but the event does not fire when a large number of items are added to the folder at once.
CAUSE
This is due to Microsoft Exchange Server and MAPI using different methods when moving large amounts of data. Outlook does not take this into account and therefore the event fails to fire in those cases.
RESOLUTION
To work around this problem, your solution will need to keep track of the number of items in the folder, and check at a certain interval to see if there are new items.
NOTE: Outlook does not provide any timer-related events in its object model. This functionality will have to be done with some external component, such as an Exchange Server Scripting Agent which does have a timer-based event, a Timer control in Visual Basic, or by using the Windows Task Scheduler to run a standalone Visual Basic application at a certain interval.
STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article. REFERENCESFor additional information about available resources and answersto commonly asked questions about Outlook solutions, click the article number below
to view the article in the Microsoft Knowledge Base:
146636 OL2000: Questions About Custom Forms and Outlook Solutions
Modification Type: | Major | Last Reviewed: | 9/29/2003 |
---|
Keywords: | kbbug kbnofix kbprogramming KB249156 |
---|
|