Have you thought about executing the FIle | Work Offline command through
CommandBars?
--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54
"Stuart Parker" wrote:
Hi,
Is there anything in the object model to allow you to suspend and later
resume receiving email?
Going to be processing the items in the inbox, and would like to stop
outlook receiving mail whilst I work with the items, and then resume
receiving when my processing finishes.
In this example, outlook is connected to exchange.
If there's nothing in the OM, any suggestions on how to achieve this?
Cheers