mail receiving event

  • Thread starter Thread starter mad
  • Start date Start date
M

mad

Hello!

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

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




Ok, thanks!

And how about synchronization or transport state. Can I get their
state?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top