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.
 
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.
 
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.
 
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.
>
 
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
C Synchronization and taking forever to send Using Outlook 2
M Synchronization and backup of Outlook from local to server. Using Outlook 8
G Automatically delete messages in the synchronization folder Outlook VBA and Custom Forms 3
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
L Error when exporting Sent Mail to Excel Outlook VBA and Custom Forms 6
G Outlook 365 My iCloud Outlook doesn’t work after reinstalling Microsoft365 on Windows 10 PC – now I get error message on contacts and calendar Using Outlook 1
V Outlook Error The Attempted operation Failed. An Object Could Not be found Outlook VBA and Custom Forms 0
S macro error 4605 Outlook VBA and Custom Forms 0
humility36 Cannot move emails to archive - 440 error Outlook VBA and Custom Forms 1
D.Moore Strange VBA error Outlook VBA and Custom Forms 4
T Event Error on non existent Event. Using Outlook 2
P now on office 365 but getting error messages about missing Outlook 2013 cache folders Using Outlook 2
W Outlook 365 I am getting the "Either there is no default mail client" error when I try to send an email on excel Office 365 Using Outlook 1
A Links in email getting error message about group policy Using Outlook 4
Aussie Outlook 365 Rule runs manually but returns the error code "an unexpected error has occurred" when incoming mail arrives Using Outlook 1
Cathy Rhone Mail merge error message Using Outlook 1
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

Similar threads

Back
Top