On another note - I have done something similar for a client where
they could setup various email templates. What I did was to give them
a set of keys they could use in their email body that would be
replaced with the relevent data. The options I gave them were like:

[title],
[firstname],
[lastname],
.... etc

Then when it came to sending the email I did a group of replace
statements on the template body:

<cfset emailContent= Replace(emailContent, '[title]', user.title)/>
<cfset emailContent= Replace(emailContent, '[firstname]',
user.firstname)/> ... etc

Dominic

2008/12/27 Dominic Watson <[email protected]>:
> Does evaluate do the trick?
>
> <cfmail...>#Evaluate(emailContent)#</cfmail>
>
> Dominic
>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:317152
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to