A Microsoft Outlook email forum. Outlook Banter

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.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Synchronization error event



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old July 21st 09, 09:21 AM posted to microsoft.public.outlook.program_vba
Twotone
external usenet poster
 
Posts: 7
Default Synchronization error event

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.
Ads
  #2  
Old July 21st 09, 02:46 PM posted to microsoft.public.outlook.program_vba
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Synchronization error event

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  
Old July 21st 09, 03:14 PM posted to microsoft.public.outlook.program_vba
Alan Moseley
external usenet poster
 
Posts: 61
Default Synchronization error event

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  
Old July 21st 09, 03:44 PM posted to microsoft.public.outlook.program_vba
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Synchronization error event

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  
Old July 21st 09, 04:35 PM posted to microsoft.public.outlook.program_vba
Twotone
external usenet poster
 
Posts: 7
Default Synchronization error event

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
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
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


All times are GMT +1. The time now is 11:21 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.