Using SendObject with Windows Scheduler

L

Leif

I'm using sendobject inside an Access 2000 application to
notify if a problem occurs. The application runs as a
scheduled task through Windows scheduler. The sendobject
will stop, however, with a request to enter the profile
name of the user. Is there some way to get
sendobject/outlook to accept the profile it suggests
(which is the user name running the Window scheduler task?

Below is a copy of my sendobject line:
DoCmd.SendObject acSendNoObject, , acFormatTXT,
rstEmail!emailname, , , rstEmail!subject, message, False

where the email name and subject are from a recordset.

Thanks,
Leif
 
Top