BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Detecting when Outlook 2K finishes downloading emails

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi OLE Automation
View previous topic :: View next topic  
Author Message
steve
Guest





PostPosted: Tue Jan 20, 2004 9:04 pm    Post subject: Detecting when Outlook 2K finishes downloading emails Reply with quote



Is there any way to detect when Outlook completes all email downloads?

I currently do a findwindow call from a timer until the 'Delivering
Messages' window is not found, then I run a Spam add-in which runs through
the newly arrived emails.

There must be a tidier way of detecting when emails have downloaded



Regards
Steve


Back to top
Dmitry Streblechenko
Guest





PostPosted: Wed Jan 21, 2004 12:07 am    Post subject: Re: Detecting when Outlook 2K finishes downloading emails Reply with quote



No, unless you start the sync process programmatically and then use
SyncObject.SyncEnd event. If the sync started through the Outlook UI, there
is no way to do that.

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool


"steve" <sfrancis (AT) bigpond (DOT) net.au> wrote

Quote:
Is there any way to detect when Outlook completes all email downloads?

I currently do a findwindow call from a timer until the 'Delivering
Messages' window is not found, then I run a Spam add-in which runs through
the newly arrived emails.

There must be a tidier way of detecting when emails have downloaded



Regards
Steve





Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi OLE Automation All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.