View Single Post
  #2  
Old August 4th 08, 02:01 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default mail receiving event

You can't on an automatic send/receive, there are no events for that. For a
synch started by code you can handle the SyncObject.SyncStart and .SyncEnd
events.

You can tell when items are being added to the Inbox using the ItemAdd event
of the Inbox's Items collection, but that event will fire even if someone
drops an item there, so it's not foolproof.

--
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


"mad" wrote in message
...
Hello!

How can my add-in know that Outlook 2007 is starting and finishing
mail receiving?

Thanks.


Ads