-
Use VBA to CHECK/UNCHECK Mail account options "Send messages immediately"
Hi
I am stumped.
I want to use VBA to CHECK/UNCHECK the "Send immediately when connected" mail option.
I am creating outlook tasks (note: these are TASKS not EMAILS) using vba and I want to force the sent tasks to the Outbox first.
Outlook 2000
Tools>Options>Mail Delivery tab>"Mail account options" section>"Send immediately when connected"
-
Hi and welcome to VBAX
AFAIK, these application settings are not exposed to VBA in the Object model, so doing that with VBA isn't going to happen.
I thought that setting the syncobject withevents in a class might help - I can intercept the sync event but apparently the stop method only works with syncs that have been initiated in code (with the syncobject start method).
It appears to me that the bottom line is, with the checkbox set at some stage there will be a scheduled sync that you have now way of stopping programatically.
K :-)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules