![]() |
mail receiving event
Hello!
How can my add-in know that Outlook 2007 is starting and finishing mail receiving? Thanks. |
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. |
mail receiving event
Ok, thanks!
And how about synchronization or transport state. Can I get their state? On 4 ΑΧΗ, 16:01, "Ken Slovak - [MVP - Outlook]" wrote: 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. |
mail receiving event
There are no SyncObject events that fire when a default send/receive is
initiated as a timed event or when started by the user unfortunately. -- 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 ... Ok, thanks! And how about synchronization or transport state. Can I get their state? |
mail receiving event
But OnSyncStart and OnSyncEnd events fires fine. Outlook 2007.
On Aug 5, 4:11*pm, "Ken Slovak - [MVP - Outlook]" wrote: There are no SyncObject events that fire when a default send/receive is initiated as a timed event or when started by the user unfortunately. -- 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 ... Ok, thanks! And how about synchronization or transport state. Can I get their state? |
All times are GMT +1. The time now is 12:25 PM. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2006 OutlookBanter.com