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" <andreyk.mad@gmail.com> wrote in message news:17d8bc20-7beb-4c4e-88b2-11d67c13cd9a@t54g2000hsg.googlegroups.com...
> Hello! > > How can my add-in know that Outlook 2007 is starting and finishing > mail receiving? > > Thanks.
04 Aug 2008mail receiving event.mad
04 Aug 2008\ Re: mail receiving event.Ken Slovak - [MVP - O...
05 Aug 2008   \ Re: mail receiving event.mad
05 Aug 2008      \ Re: mail receiving event.Ken Slovak - [MVP - O...
06 Aug 2008         \ Re: mail receiving event.mad
Contact Us
All times are in (US) Eastern Daylight Time (GMT -4:00)