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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top