I'm trying to track failed emails by the UserID in the query. For testing
purposes, I have ReportPOSTStatus cffile-appending a line to a file for every
success and fail (to see if I can do it). For successful emails, the tokenized
UserID comes through fine, but for fails, both the form.HEADER_TO and
form.HEADER_UserID fields are blank.
Here's the cfx tag call:
<cfx_iMSmail
SMTPFROM="#strSMTPFrom#"
LOG="YES"
QUERY="qryGetQUEUE"
QUERYFIELD="RECIPIENTADDRESS"
QToken_UserID="ID"
WORDWRAP="80"
HEADER_To="<:smtpto:>"
HEADER_From="#strSMTPFrom#"
HEADER_Reply_To="#strSMTPReplyTo#"
HEADER_Subject="This is a test"
HEADER_CampID="1"
HEADER_UserID="<:UserID:>"
BODY="This is a test"
HTML="This is a test"
DELETEMAILFILE="YES"
PARSETOKENS="YES"
>
I have ReportPOSTStatus and PostFail doing an inlog dump of all of the form
vars, and in both cases when the email fails the TO and UserID vars are blank.
Any idea why I can't get these values for a failed email? On a more general
note, how can I capture a value that I can use to flag failed emails in my db?
Thanks in advance for your help.
All the best,
REM O-
==^=======================================================
This list server is Powered by iMS
"The Swiss Army Knife of Mail Servers"
--------------------------------------
To leave this list please complete the form at
http://www.coolfusion.com/iMSSupport.cfm
Need an iMS Developer license? Sign up for a free license here:
http://www.coolfusion.com/iMSDevelopers.cfm
List archives: http://www.mail-archive.com/infusion-email%40eoscape.com/
Note: You are subscribed as [email protected]
==^=======================================================