Everyone, We have built an email system for emailing our clients. It allows you to enter an email message into a form that has user variables (customer name, etc) in it and CF processing logic (cfif's, loops, etc).
The challenge is that the #evaluate(DE(form.htmlEmail))# will only put in the variables and doesn't process any of the logic tags. We have tried using CFSaveContent and that doesn't work either. The only way we could make work is to store the form.htmlEmail into a file using evaluate (<cffile action="WRITE" file="#FileandPath#" output="#Evaluate(DE(form.htmlEmail))#"> and then do a <cfinclude> in the cfmail tag and that actually works. It isn't that fast though because we have to write/read a file for every email. Any other ideas that would work for processing variables and cf logic stored inside another variable? Thanks, Jeremy Jeremy Bruck VP of Technology ::MfgQuote ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| ColdFusion MX 6.1, now 2.5 times faster. http://www.macromedia.com/software/coldfusion/productinfo/upgrade/jump/introducing.html?trackingid=ColdFusion_468x60g_HouseofFusion_carat_082803 Message: http://www.houseoffusion.com/lists.cfm?link=i:4:138534 Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4