QTokens are not supported in the ReportPostsStatus template because that template is
called once per delivery attempt
and, so, QTokens are not parsed (QTokens are user-specific tokens).
The best way to get the ID of the user in ReportPostsStatus would be to use the email
address and perform a db lookup.
HTH,
Howie
----- Original Message -----
From: "Rey Muradaz" <[EMAIL PROTECTED]>
To: "inFusion Support List" <[EMAIL PROTECTED]>
Sent: Wednesday, July 31, 2002 3:44 AM
Subject: [iMS] Problem with QToken
> 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]
==^=======================================================