Since nobody gave you an answer and Howie is turning into Captain
Ahab...

Right, store the variable parts of the HTML in the code as something
like #Surname#, then when you come to send it out, don't just do
<cfmail query="whatever">

Run it via a cfloop, change the variable parts into their relevant
fields, then cfmail it out...

That's if I've understood what the loveliest poster here means...

Philip Arnold
Technical Director
Certified ColdFusion Developer
ASP Multimedia Limited
T: +44 (0)20 8680 1133
F: +44 (0)20 8686 7911

An ISO9001 registered company.

**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
**********************************************************************


> -----Original Message-----
> From: Erika L. Walker-Arnold [mailto:[EMAIL PROTECTED]]
> Sent: 14 February 2002 03:34
> To: CF-Community
> Subject: HTML Q's and Advice
>
>
> OK. Here's the skinny.
>
> I got this HTML email, right...and, there are certain parts
> of it that are
> dynamic.
>
> So, I wanna store the whole thing in a db ... and feed it
> into a CFMAIL
> template I have built (that sends text if you can't take
> HTML), which works
> great by the way.
>
> My stupid Q-of-the-Day is more of a survey ... I need to be
> able to upload
> however many HTML templates I want, yet have a format that has certain
> variables in the email which get changed by yet another process.
>
> Lose anyone yet?
>
> So I'm pasting this big huge HTML page into a text box to
> store in a db.
> Then, I'm editing this HTML version ... is it a good idea and
> is it clean to
> feed this HTML in and out of a db? Should I just edit the one
> field with the
> WHOLE HTML in it, or should I keep the separate variables in
> the HTML and
> evaluate them?
>
> I'm so tired of thinking about this and my hubby is asleep or
> I'd ask him.
>
> <sigh>
>
> Erika
> -----------------------------------------------------
> 
______________________________________________________________________
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to