Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.
-
mpalsf #1
CFMail Timing Out in CFLoop
I am using a hosted server and have no control over their settings. They say
the Timeout for CFMail is set to 20 seconds.
The problem I'm running into is that I have a CFLoop that triggers one
<CFMail></cfmail)> tag per loop (one email per loop). based upon a bunch of
selected Name records. What is happening is that the process faills after 20
seconde wit h a CFMAil timeout message. At that point, it's sent about 25
emails. So, the timeout is not cause by one instance of CFMail, it seems to
start the clock the first time it hits the CFMail tag, then doesn't reset for
each iteration of the tag.
Is there some way to make sure the timeout resets each time it hits the start
of a new tag? I tried setting Timeout="900", but it had no effect.
Thanks.
mpalsf Guest
-
CFLOOP and CFMAIL
Is there anyway to have cfloop delay 5 seconds inbetween each time it loops. I am trying to send out an large email but my web host says I have to... -
Timing Out during CFMail transaction
I'm using a hosted server and manage the database for my kid's high school. Sometimes when I send out email announcements, the server times out. ... -
<cfmail></cfmail> in a script
I am wondering if I can put <cfmail> tags and code within a javascript script. will the browser recognize it, and perform the instructions? ... -
cfmail - Attribute validation error for tag CFMAIL.
I'm getting the error ' Attribute validation error for tag CFMAIL.' on the code below. All its doing is outputting a text string to the TO: field. ... -
Timing
Hello, My code needs to calculate a value every half second for 40 seconds. I was considering using select as a fixed time value. Is it... -
The ScareCrow #2
Re: CFMail Timing Out in CFLoop
There is a timeout attribute of the cfmail tag. It should override the server
setting.
timeout
Optional. The number of seconds to wait before timing out the connection to
the SMTP server.
<cfmail to = "#form.mailto#" from = "#form.mailFrom#" subject =
"#form.subject#" timeout="20">
Ken
The ScareCrow Guest
-
mpalsf #3
Re: CFMail Timing Out in CFLoop
Thanks. I tried using the cfmail timeout, but it did not override the server
settings. They did finally say I could use CFSetting/Request Timeout, which
did override the server setting: <cfsetting RequestTimeout = "number
InSeconds"">
mpalsf Guest



Reply With Quote

