>Thanks Ben, but not sure I'm fully understanding. My purpose is to listen
>for email text files created by a legacy system in a directory. As soon as
>one appears, I want the Delphi exe to read in the file, create a new email
>in Outlook and send it out. Both the email directory and the Delphi exe,
>will be on servers, though not the same server. For the Delphi exe, I will
>arrange for it to be run on bootup.
I've got an app that does pretty much exactly the same thing - only it Uses INDY
instead of
Outlook ( eugh :p ).
It's polling every five seconds, and the CPU usage only goes up to 1% when doing so
(this is on
a AMD-K6/500, W2K). If you're worried about network trafic maybe only look every
10-20
seconds?
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED]
with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/