Access not sending email overnight

G

ghetto_banjo

I have created a batch process on a remote computer, that opens up an
access database every night. I have a form that opens automatically,
and in the On Open event I run some code, call another batch process
that runs some FTP commands, and then code that sends an email to
myself saying that everything was successful (upon an error, a
different email is created). I keep Outlook open on that machine, and
I have software called ClickYes that automatically choose 'Yes' for
the dialog box that says "another program is trying to send email..."


I know that the process is working because I see the new file in the
FTP folder each morning, but for some reason I never get an email.
Nothing in the Outbox / Sent Items of Outlook.

If I actually log onto the computer and run the process, the email
gets generated and sent without any problems or intervention. For
some reason, it does not happen overnight when the computer is
unattended.

I have confirmed that the power saving schemes are disabled and such.

Where do I start troubleshooting? Is this Outlook or Access causing
the issue?
 
J

Jerry Whittle

I'd start with what has changed recently?

Also if the computer has user-level security where you have to log in as an
individual, you may need to run the process as the computer Administrator.
Try not logging out of the computer in question and see what happens. I would
even disable the locking of the computer by the screen saver for testing
purposes.
 
G

ghetto_banjo

well its a new process, so nothing has changed since its
implementation.



I actually keep the computer logged in as a local administrator. I
will need to check with the screensaver, that is probably enforced by
the domain rules. Just seems strange that everything is working fine
except the email part. Perhaps the ClickYes software isn't working
and the email never gets to Outlook....
 
P

Peter Hibbs

Have you considered using Outlook Redemption which allows you to send
an email via Outlook but bypasses the security message that you are
using ClickYes to cancel. If so, then I have some code which you may
be able to use. Post back if you would like to try it out.

Peter Hibbs.
 

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