at the risk of sounding stupid, where would these error logs be? It was recommended to put in a directory such as cfide.
Main Topics
Browse All TopicsI am using coldfusion 5 and 7 on another server. I have the code below as a file that will check the undeliverable folder 3 times and try to redeliver the mail before deleting it. Everything looks right to me, (but could not be). I have scheduled it to run in administrator as a scheduled task to run every 5 minutes. The file called cfrespoolprg.cfm and I put it in the CFIDE/scripts folder.
Under administrator in coldfusion I went to schedule task. For the url I put http://66.153.205.3/cfide/
Below is the cfrespoolprg.cfm
This question is in progress.
Our experts are working on an answer right now.
Sign up for immediate access to the solution once it becomes available.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
In the logs folder in the coldfusion application root directory, In coldfusion 6 I believe its:
C:\CFusionMX\Logs
in 7 it's
C:\CFusionMX7\Logs
in fact that may be your error right there... you have your code set like this:
<!--- ColdFusion's Mail directory --->
<CFSET MailRoot="C:\CFusion\Mail"
when on the coldfusion 7 server it should probably be like:
<!--- ColdFusion's Mail directory --->
<CFSET MailRoot="C:\CFusionMX7\Ma
I did not see anything in the logs indicating an error. In the scheduler logs I have these messages;
"Scheduled task 'respoolmail' for URL request 'http://66.153.205.3/cfide
It looks like I have found the problem, but now how to fix it?
The reason most of the emails are being put in the undeliverable folder, from the mail logs, is
"SMTP server replied "No connection to mail server".
I have increased the connection timeout to 75 with the mail server in cfadministrator.
Anyone know why the SMTP server connection would not always be connected?
And any way possible to fix my problem?
There are lots of reasons why you may not be able to connect to your mail server. I would start by checking the settings in the mail section of coldfusion administrator. If those are all correct, I would look at the smtp server configuration and make sure that it is allowing smtp messages to be relayed from the coldfusion server.
if it not throwing any errors then perhaps it is just not scheduled correctly? try adding a little code to the template that logs a timestamp to a file everytime it runs. add this snippet of code to your script on the cf8 server and it will create a log file in the same directory as your script and append a timestamp everytime it runs.
Business Accounts
Answer for Membership
by: SBennettPosted on 2008-01-25 at 13:10:14ID: 20746367
Have you checked your error logs to see if there are any errors occurring with that script?
Also is there some reason why you decided to put the template in the /cfide/scripts directory? That seems a little unorthodox. I would recommend that you put these kinds of scripts into a separate directory that is not under /cfide/.