One interesting thing, I just checked the undelivered log and it was
empty, but It allowed me to set the mail log severity level. I
changed it all the way from warning to debug.... Time to test...
On 05/22/2012 09:54 PM, Frank Moorman wrote:
Yeah, I'm really stumped by this. I initially thought that I cut
and pasted a "query="
attribute into the <cfmail> tag.
I'm still not sure what is happening. I plan on adding a few
<cflog> tags into the method later tonight, similar to what
Brooks mentioned.
The other weird thing is that the email is sent out a few minutes
apart (one reason why I am considering a possible mail server
issue.) But it only seems to duplicate this specific email, and
every time this email is sent, (but no reports or evidence of any
other email on the system.)
I have a PNG file of the CF admin showing the emails here:
http://www.moormanappdev.com/ColdFusion%20Administrator_1337736378216.png
On 05/22/2012 07:43 PM, Cheyenne Throckmorton wrote:
I can't imagine why the same function would send
multiple of the first and only one of the second unless maybe
your #GetContactInfo.email_address# statement is returning a
comma-delimited list to generate multiple emails and maybe to
the same list. Like its returning fr...@domain.com,fr...@domain.com,fr...@domain.com,fr...@domain.com
from some kind of a join mix up in the sql and then your mail
setup is spawning off separate emails to each email in the list
despite them all being the same.
On Tue, May 22, 2012 at 3:26 PM, <brooks.wil...@atl.frb.org>
wrote:
Frank:
Try adding some debugging code. I
would add a <cfdump/> at the beginning and end of
the function body. This would tell me that the function
is starting and ending as you expect. What may be
happening is that the function begins, sends the first
email and then abnormally terminates. Then the calling
program calls the function again and this pattern is
repeating 4 more times. Finally on the 6th try, the
function completes as expected.
Sincerely, Brooks
From:
Frank Moorman
<stretch...@franksdomain.net>
To:
discussion@acfug.org,
Date:
05/21/2012
03:21 PM
Subject:
[ACFUG
Discuss] CF9 email problem
Sent by:
ad...@acfug.org
All,
I am having an email problem... My system is sending
out about a dozen of the first email yet only one of
the second. (I only want one of each.) The system is
CF9 and it has happened a few times. (Every time
since it was implemented this weekend.) I tried to
find any type of loop or query and I stunned... I
considered the possibility that it is a mail server
problem yet no other email seems to be affected and
the site hosts two separate CF applications with
many different emails from both.
I have copied the code in its entirety here just
removing the identifying information... The
component call executes a database query which
returns a single row.
<cffunction access="public"
name="zzz" output="false" returntype="void"
hint="sends an email.">
<cfargument name="RequestUUID" type="string"
required="true">
<cfset var GetContactInfo = ''>
<cfinvoke component="contacts"
method="GetContactRequest"
returnvariable="GetContactInfo">
<cfinvokeargument name="ContactId"
value="#arguments.RequestUUID#">
</cfinvoke>
<cfmail to="#GetContactInfo.email_address#" cc="supp...@zzz.com" from="zz.com
<donotre...@zzz.com>" subject="zzz Correspondence"
type="text">
Customer,
Your request has been sent ...blah... blah...
blah... #GetContactInfo.contractor_phone#. blah...
blah...
blah...#GetContactInfo.contractor_first_name#
#GetContactInfo.contractor_last_name#.
</cfmail>
<cfmail to="#GetContactInfo.contractor_email#"
cc="supp...@zzz.com" from="zzz.com
<donotre...@zzz.com>" subject="CUSTOMER REQUEST"
type="text">
blah... blah... blah...
CUSTOMER INFORMATION:
Name: #GetContactInfo.first_name#
#GetContactInfo.last_name#
Address: #GetContactInfo.street_address#
City, State: #GetContactInfo.city#,
#GetContactInfo.state# #GetContactInfo.zip_code#
</cfmail>
<cfreturn>
</cffunction>
-------------------------------------------------------------
To unsubscribe from this list, manage your profile @
http://www.acfug.org?fa=login.edituserform
For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-------------------------------------------------------------
-------------------------------------------------------------
To unsubscribe from this list, manage your profile @
http://www.acfug.org?fa=login.edituserform
For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by FusionLink
-------------------------------------------------------------
-------------------------------------------------------------
To unsubscribe from this list, manage your profile @
http://www.acfug.org?fa=login.edituserform
For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-------------------------------------------------------------
------------------------------------------------------------- To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform
For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -------------------------------------------------------------
|