Synchronization error event

Status
Not open for further replies.
T

Twotone

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

Ken Slovak - [MVP - Outlook]

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.

"Twotone" <Twotone> wrote in message

news:7B34309A-BEFD-4A4A-96F2-81A6A6E9D5A9@microsoft.com...
> 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.
 
A

Alan Moseley

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

Ken Slovak - [MVP - Outlook]

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.

"Alan Moseley" <AlanMoseley> wrote in message

news:B9193721-19A9-4A61-AF91-AFF322437BFA@microsoft.com...
> 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.
>
 
T

Twotone

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

> >

>

> "Alan Moseley" <AlanMoseley> wrote in message
> news:B9193721-19A9-4A61-AF91-AFF322437BFA@microsoft.com...
> > 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.
> >


>
 
Status
Not open for further replies.
Similar threads
Thread starter Title Forum Replies Date
B Exchange 2010 / Outlook 20070 "client error in synchronization log" Exchange Server Administration 1
A Synchronization Error of contacts and calender using Outlook connector Using Outlook.com accounts in Outlook 12
G Automatically delete messages in the synchronization folder Outlook VBA and Custom Forms 1
R Outlook 2010 Contact Synchronization - Outlook to Outlook.com Using Outlook.com accounts in Outlook 1
Paul Van Cotthem Is calendar synchronization between Office 2013 and Outlook.com capped by spam or bandwidth limits? Using Outlook.com accounts in Outlook 12
A Synchronization of IMAP folders Using Outlook 0
P Encoding problems after synchronization with Outlook Connector Using Outlook.com accounts in Outlook 6
J Synchronization of some deletions failed [0-130] Exchange Server Administration 6
M Synchronization of some deletions failed [0-130] Using Outlook 3
S Improving synchronization of Outlook with ... everything else Using Outlook 1
D BCM and remote synchronization BCM (Business Contact Manager) 1
Aussie Outlook 365 Rule runs manually but returns the error code "an unexpected error has occurred" when incoming mail arrives Using Outlook 0
Cathy Rhone Mail merge error message Using Outlook 2
U Outlook 2019 VBA run-time error 424 Outlook VBA and Custom Forms 2
V Outlook error 500 Using Outlook 2
O Comma Separated Values.ADR and A file error has occurred in the translator Using Outlook 6
D We're sorry but outlook has run into an error Using Outlook 6
D Outlook 2016 Outlook Error Msg "The operation cannot be performed ..." How to Stop it Using Outlook 4
P Outlook 2013 All imported Mail Rules in error when imported into new profile Using Outlook 5
H Outlook 2019 Certificate error Using Outlook 2
V Date and/or time error in Outlook Form Outlook VBA and Custom Forms 0
A Run-time error '430' on certain emails when trying to set "Outlook.mailitem" as "ActiveExplorer.Selection.Item" Outlook VBA and Custom Forms 2
E Complite error on SaveAsFile method Outlook VBA and Custom Forms 2
I Error saving screenshots in a custom form in outlook 2016, outlook 365 - ok in outlook 2013, outlook 2010 Outlook VBA and Custom Forms 5
D Outlook VBA error extracting property data from GetRules collection Outlook VBA and Custom Forms 10
A Unable to save recurring Meeting to Documents folder due to error Using Outlook 2
M Compile error: User-defined type not defined Outlook VBA and Custom Forms 0
R Error when trying to forward current email item Outlook VBA and Custom Forms 7
M ERROR: None of your email accounts could send to this recipient Using Outlook 2
J OLADD.FAE Error When Exporting Contacts Using Outlook 6
C Send/receive error 80040119 Using Outlook 2
W error with the permission for the file Outlook VBA and Custom Forms 0
L Outlook 2019 MAC sync error after working for 4 hours Using Outlook 1
A Run time error 424. object required in outlook 2013 Outlook VBA and Custom Forms 10
M error code 0x8DE00006 Using Outlook 1
M Desktop Version Of Outlook Generating Error Using Outlook 4
M Send/Receive error 0x800CCC0F Using Outlook 0
T Outlook 2016 CSV Translator Import Error Using Outlook 6
ManaarZakaria I'm afraid of this issue, cause of strange error Exchange Server Administration 2
P Suppress dialog box on email check error? Using Outlook 5
vodkasoda Object could not be found Error in Outlook 2007 Outlook VBA and Custom Forms 5
S VBA Macro - Run-time error '424': object required - Help Please Outlook VBA and Custom Forms 3
avant-guvnor Outlook.Application now produces error Outlook VBA and Custom Forms 5
P Run Time Error 91 when linking contact to task in VBA Outlook VBA and Custom Forms 1
N Error 0x80090326 when trying to setup IMAP account on Outlook.com Using Outlook.com accounts in Outlook 1
N Saving And Deleting Outlook Attachments with Unknown Error Message Outlook VBA and Custom Forms 1
Dennis Gaudenzi Your setup couldn't be started because of an unexpected error (mapi 0x80040604) Using Outlook 14
M Outlook 2013 fails to start -- missing WindowsCodecs.dll error Using Outlook 3
Steshelter ICloud Unexpected Error Using Outlook 5
Rupert Dragwater "there was an error reading this theme" Using Outlook 3

Similar threads

Top