sENDING eMAIL fROM vb6
I have a program with no user interface, which I want to send email.
It runs on a server, being started through Task Scheduler on Reboot.
The entry point is Public Sub Main().
It looks for data files in a folder; if none are found, it Sleeps the thread for 5 seconds, then looks again—lather, rinse, repeat.
When it finds one, it reads it, deletes it, then acts on the read data.
If there is an error, I want to notify the user (one of the piece of data) through email.
________________
<Shoot! Bitten by Caps Lock again!>
I can’t use the MAPI control, because there are no forms to serve as its container...
Last edited by BrianWren; April 8th, 2009 at 04:56 PM..
Reason: Wanted to edit title to proper case.
|