Howie,

You keep mentioning these predefined tokens.  I have looked at the manual
and I see no list of these, I seem some mentioned like <:smtpto:>, <:name:>,
<:sellprice:>, but no reference table of list of which are in the server's
glossary as predefined and how/where to set the data for these predefined.

In particular:

<a
href="redirect.domain.com/tally.cfm?campaign=<:campaign:>&userid=<:userid:>"
>here.</a>.

How would one populate <:campaign:>  and <:userid:> unless it can only be
done statically(?)

If name and userid are predefined... where do we reference the queryfield
for these?



Matt Boyce



-----Original Message-----
From: Howie Hamlin [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 31, 2001 10:12 AM
To: inFusion Support List
Subject: Re: [iMS] Tokens and Dynamic Content



----- Original Message -----
From: "Matthew Boyce" <[EMAIL PROTECTED]>
To: "inFusion Support List" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, May 31, 2001 10:58 AM
Subject: [iMS] Tokens and Dynamic Content


> I am trying to understand the query, queryfield and token_name params.
> There is a token in the example below '<:smtpto:>', but where is value
being
> called from in the example below?  I don't see how the application knows
> what to
> place in that token.
>

There are several predefined iMS tokens.  This is detailed on page 130 of
the manual.

> Also, the name of the query 'getemails'.  Which is probably like:
>
> SELECT useremail FROM Users of SELECT * FROM Users, etc., but how does the
> cfx tag know to loop over all these email addresses?
>
> We would want this:
> <cfx_iMSMail
> header_From="<:adminemail:>"
> header_To="<:smtpto:>"
> smtpfrom="<:adminemail:>"
> header_reply-to ="<:senderemail:>
> DELETEMAILFILE="yes"
> WORDWRAP="65"
> header_Subject="<:message_subject:>"
> header_Message_id="#uniqueid#"
> body="#body#"
> html="#html#"
> QUERY="getEmails"
> QUERYFIELD="email"
> >
>
> Would have to put in the TOKEN_NAME params?  So for param header_reply-to
we
> would then inlude TOKEN_Header_Reply-To and what would be the value of
this
> param and where would it come from?
>
> How do you set different token names and then get the data from a query in
> cf into these tokens?  And, also, how do you get cfx to loop over all the
> users in the dataset requested without a cfloop?
>

You can't do this currently - no promises but we're looking to add this kind
of enhanced functionality in 2.1.

Regards,

Howie

> Matt Boyce
>



========================================================================
     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/
========================================================================



========================================================================
     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/
========================================================================

Reply via email to