Sometimes I send out emails through my system which dynamically generate the
content from variables:

example: 

Last year you gave $#lsnumberformat(lastyear, "9.99")# to support our work.
This year we hope you'll give $#lsnumberformat(lastyear*2, "9.99")#.

My mailer routine uses evaluate against the string to parse out those
values, then it is sent out via cfmail inside a loop. If Evaluate() isn't
recommended, is there a better way to do this?  Typically this type of
mailing might go out to 10 or 12 thousand emails at once.


On 4/18/06 1:29 PM, "Nick de Voil" <[EMAIL PROTECTED]> wrote:

>> Is there a time when evaluate should be used?
> 
> If you want to dynamically build an unpredictable string which contains
> logic, rather than just variable names, then afaik you can only invoke the
> logic using Evaluate(). But then again, that's not something that people
> need to do very often.
> 
> Nick
> 
> 
> 
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:238026
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to