[thelist] ColdFusion question

Joshua OIson joshua at alphashop.net
Tue Apr 3 13:47:06 CDT 2001


As far as I know, Raymond is right, you cannot evaluate tags within a
string.  However, you can store a filename in the db and cfinclude the file.
So, you may try storing the template to the disk instead of into the db.
This will be a lot faster too.

-joshua

----- Original Message -----
From: "Ryan Carmody" <carmodyryan at hotmail.com>
Subject: [thelist] ColdFusion question


> Hi all,
>
> I'm trying to store an email template in a DB field.  The email template
> contains coldfusion (cfif and cfoutput tags) that format the email and
> insert info from queries.  I've tried using the evaluate(string) function,
> but that just outputs the email template as text with the coldfusion still
> there unevaluated.  It's almost as if I need to send the email template
> through CF server twice.  Can anyone help me here?
>
> TIA,
> Ryan Carmody






More information about the thelist mailing list