A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Access not sending email overnight



 
 
Thread Tools Display Modes
  #1  
Old July 7th, 2009, 01:24 PM posted to microsoft.public.access
ghetto_banjo
external usenet poster
 
Posts: 325
Default Access not sending email overnight

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?
  #2  
Old July 7th, 2009, 04:52 PM posted to microsoft.public.access
Jerry Whittle
external usenet poster
 
Posts: 4,732
Default Access not sending email overnight

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.
--
Jerry Whittle, Microsoft Access MVP
Light. Strong. Cheap. Pick two. Keith Bontrager - Bicycle Builder.


"ghetto_banjo" wrote:

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?

  #3  
Old July 7th, 2009, 07:04 PM posted to microsoft.public.access
ghetto_banjo
external usenet poster
 
Posts: 325
Default Access not sending email overnight

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....
  #4  
Old July 7th, 2009, 07:44 PM posted to microsoft.public.access
Peter Hibbs
external usenet poster
 
Posts: 871
Default Access not sending email overnight

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.

On Tue, 7 Jul 2009 11:04:51 -0700 (PDT), ghetto_banjo
wrote:

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....

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 06:31 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.