M
morna
I have an outlook add-in that deals with the ItemAdd event for a
MAPIFolder. When the ItemAdd event fires, I have access to the
MailItem or Item added to the folder. Is there a way to find out
which folder fired the event? I don't think there is a way to find
this information on the MailItem, but any thoughts? I have tried to
catch the ItemRemove and ItemAdd for a given folder, but the
ItemRemove does not fire consistently. I have added the Items object
from the MAPIFolder as a class inside the Connect.cs class, but have
found articles on Microsoft that the events may not consistently
fire. The ItemAdd event for the folder does fire consistently.
Any thoughts would sure help out. Thanks for your time
MAPIFolder. When the ItemAdd event fires, I have access to the
MailItem or Item added to the folder. Is there a way to find out
which folder fired the event? I don't think there is a way to find
this information on the MailItem, but any thoughts? I have tried to
catch the ItemRemove and ItemAdd for a given folder, but the
ItemRemove does not fire consistently. I have added the Items object
from the MAPIFolder as a class inside the Connect.cs class, but have
found articles on Microsoft that the events may not consistently
fire. The ItemAdd event for the folder does fire consistently.
Any thoughts would sure help out. Thanks for your time