Wednesday, January 21, 2009

Outlook ItemsEvents_ItemAddEventHandler

If you setup an event handler for the ItemAdd event within a folder you MUST have a class level variable for the ITEMS collection, otherwise the event will not fire reliably. Having a class level variable for the Folder which contains the items does not work…