Thanks,
Can use use tokens and qtokens in the same cfx_imsmail tag? If you can
im doing it wrong :)
Jeff
-----Original Message-----
From: "Howie Hamlin" <[EMAIL PROTECTED]>
To: inFusion Support List <[EMAIL PROTECTED]>
Date: Thu, 11 Jul 2002 09:22:18 -0400
Subject: Re: [iMS] CFX_iMSMail question
> You can't do logic like that in the tag. You can, however, use a query
> with an extra column for the link that you want
> to include (this can be done by adding a column to an existing query
> that has the email addresses of the recipients).
> Once you have the text in the query column you can do something like:
>
> (assume that the query contains a column called "linktext")
>
> <cfx_imsmail query="myquery" queryfield="email" QToken_link="linktext"
> ....
> body="here is a link:
> <:link:>"
> >
>
> HTH,
>
> Howie
>
> ----- Original Message -----
> From: "ims" <[EMAIL PROTECTED]>
> To: "inFusion Support List" <[EMAIL PROTECTED]>
> Sent: Wednesday, July 10, 2002 5:45 PM
> Subject: [iMS] CFX_iMSMail question
>
>
> > Im about to start my demo of iMS-SE (demo) and CFX_iMSMail with
> > ColdFusion.
> >
> > Ive been reading through the docs and I have a question. Will I be
> able
> > to use any decision logic to build the email I plan to send?
> >
> > The reason I ask is cause many of our mailing are going to have a
> "tell a
> > friend" form in the email. And on some services, like hotmail, forms
> > dont get submitted correctly.
> >
> > Example, this is what I could do with cfmail:
> >
> > <cfmail query="Users" to="#Email#" from="[EMAIL PROTECTED]"
> subject="Dynamic
> > email" type="HTML">
> >
> > <cfif Email CONTAINS "hotmail.com">
> > <a href="mysite.com/forward.cfm?
> > userid=#userid#&mailingid=#mailingid#">send this message to a
> friend</a>
> > <cfelse>
> > <form action="mysite.com/actionforward.cfm?
> > userid=#userid#&mailingid=#mailingid#" method="post">
> > email:<input size="15" type="Text" name="Email1">
> > <input type="Submit">
> > </form>
> > </cfif>
> >
> > </cfmail>
> >
> > I was wondering if I could do something like this within the
> CFX_iMSmail
> > tag.
> >
> > Thanks,
> > Jeff
> >
> >
==^=======================================================
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]
==^=======================================================