![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
![]()
Because I don't want to be interrupted when Outlook is sending and receiving
emails, I have ticked the box to say "don't show me the progress dialog box". The problem is that, when occasionally emails don't "go", I don't notice and they sit in my Outbox until I close Outlook, which may be many hours later. Ideally, therefore, I would like to capture the "synchronization error event" and make a message appear on my screen. However, I understand that, despite the fact that the Microsoft help screens imply otherwise, you can only capture this event when you have initiated the synchronisation from code. ie it can't be captured for a scheduled or user-initiated synchronization. Can anyone confirm if this is correct and if so, how else I might do what I want to do? Thanks in advance. |
#2
|
|||
|
|||
![]()
That's correct. There are no errors passed to you and no way to know the
start and end of an Outlook initiated send/receive (synch). As far as I know there's absolutely no way to do what you want. -- 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 "Twotone" wrote in message ... Because I don't want to be interrupted when Outlook is sending and receiving emails, I have ticked the box to say "don't show me the progress dialog box". The problem is that, when occasionally emails don't "go", I don't notice and they sit in my Outbox until I close Outlook, which may be many hours later. Ideally, therefore, I would like to capture the "synchronization error event" and make a message appear on my screen. However, I understand that, despite the fact that the Microsoft help screens imply otherwise, you can only capture this event when you have initiated the synchronisation from code. ie it can't be captured for a scheduled or user-initiated synchronization. Can anyone confirm if this is correct and if so, how else I might do what I want to do? Thanks in advance. |
#3
|
|||
|
|||
![]()
What about using a piece of code that calculates how long a mail has been
sitting in your outbox, and if it is over a specified value (depending upon how often your send/receive is configured) then launch a messagebox. You can then use a timer (initiated upon launching Outlook) or something to run this routine every so often. -- Alan Moseley IT Consultancy http://www.amitc.co.uk If I have solved your problem, please click Yes below. Thanks. "Twotone" wrote: Because I don't want to be interrupted when Outlook is sending and receiving emails, I have ticked the box to say "don't show me the progress dialog box". The problem is that, when occasionally emails don't "go", I don't notice and they sit in my Outbox until I close Outlook, which may be many hours later. Ideally, therefore, I would like to capture the "synchronization error event" and make a message appear on my screen. However, I understand that, despite the fact that the Microsoft help screens imply otherwise, you can only capture this event when you have initiated the synchronisation from code. ie it can't be captured for a scheduled or user-initiated synchronization. Can anyone confirm if this is correct and if so, how else I might do what I want to do? Thanks in advance. |
#4
|
|||
|
|||
![]()
Although any code that touches the item in Outbox or even handles
Outlook.Items will end up aborting the send on that item. You have to be real careful of touching items using code that have been submitted to the mail transport. -- 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 "Alan Moseley" wrote in message ... What about using a piece of code that calculates how long a mail has been sitting in your outbox, and if it is over a specified value (depending upon how often your send/receive is configured) then launch a messagebox. You can then use a timer (initiated upon launching Outlook) or something to run this routine every so often. -- Alan Moseley IT Consultancy http://www.amitc.co.uk If I have solved your problem, please click Yes below. Thanks. |
#5
|
|||
|
|||
![]()
Thanks for the confirmation and the suggestion.
I think I will programmatically initiate a send/receive myself (ie in addition to the scheduled ones) every two hours or something. Then I will be able to use the onerror event to see if any emails haven't gone. Best regards "Ken Slovak - [MVP - Outlook]" wrote: Although any code that touches the item in Outbox or even handles Outlook.Items will end up aborting the send on that item. You have to be real careful of touching items using code that have been submitted to the mail transport. -- 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 "Alan Moseley" wrote in message ... What about using a piece of code that calculates how long a mail has been sitting in your outbox, and if it is over a specified value (depending upon how often your send/receive is configured) then launch a messagebox. You can then use a timer (initiated upon launching Outlook) or something to run this routine every so often. -- Alan Moseley IT Consultancy http://www.amitc.co.uk If I have solved your problem, please click Yes below. Thanks. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
80070003 Synchronization Error | Mike54 | Outlook - General Queries | 1 | December 18th 07 05:48 PM |
OAB Synchronization Error | Midwest Muskie | Outlook - Installation | 0 | August 10th 07 02:32 PM |
Outlook synchronization error | SSI | Outlook - General Queries | 1 | June 7th 07 05:38 PM |
Blackberry synchronization error | Jack | Outlook - Using Contacts | 5 | January 19th 07 08:36 PM |
SYNCHRONIZATION ERROR | Brian Tillman | Outlook - General Queries | 3 | November 14th 06 02:44 PM |