Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

one cfmail every 15 minutes

Status
Not open for further replies.

snix1

Programmer
Dec 12, 2000
107
US
Running cf5 and have a weird problem. A very simple cfmail is executed. It works fine. Execute it again and no mail is delivered. Seems I have to wait 15 minutes for the template to work again. Here's the code:

<cfmail to=&quot;whoever@mydomain.com&quot;
from=&quot;whoever@mydomain.com&quot;
subject=&quot;This is a testagain&quot;>
This is a test again4!!!!! Do you get this message????
</cfmail>

Seems as if the server goes to sleep for 15 minutes after doing this cfmail. The message doesn't show up in the spool. Was able to verify that CF could connect to the mail server.

Any ideas?
 
At what interval do you have the server set to spool at? We have ours set to 60 seconds, and do not have an issue with enties getting lost in the spool.

Chris
 
Are you sending both messages to the same address? Building on chris's idea, if the two messages were identical and were sent to the same address within the server's spool interval, it may be that they are being combined either by the CF server or by the receiving mail server.

In your testing, I would recommend sending the message to two different addresses (preferably on the same receiving mail server) within the time span in question and see if they both are received.
 
Thanks for the replies. We have now set the spool interval to 60 seconds. Also, we have tried different addresses. This gets stranger all the time. I modified another template and executed it and my changes did not get reflected in the output of that template. This had nothing to do with mail! Then I was told by the technician that you must hold down the CTRL key while clicking on refresh to actually get a fresh copy of the page...this was a firewall requirement because the firewall caches pages.(??!) (Never had to do that on any other server before.) Anyway, we are still testing and thanks again for all your help.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top