Not sure if I have this right. Some of the recipients Names are not used in
their email, such as ('Mark Jones', '[email protected]') How would that
structure work?<cfset fisttoat = find(#recipient#, '@')> <cfset firstname = left(#recipient#, #firsttoat#)> <cfset recipients="[email protected], [email protected], [email protected], [email protected]"> <cfloop list="#recipients#" index="recipient" delimiters=","> <cfmail to="#recipient#" from="#sender_email#" subject="My Message To You 2009" > Dear #left#, This is my message to the recipient. This is my message to the recipient. Yours truly, #sender_firstname# #sender_lastname# </cfmail> </cfloop> -----Original Message----- From: Rob Parkhill [mailto:[email protected]] Sent: 2009-01-05 2:08 PM To: cf-talk Subject: Re: Personalizing a CFLoop Well I am sure that there is a more elegant REGEX solution, but you can always do a FIND and then a LEFT so: <cfset fisttoat = find(#recipient#, '@')> <cfset firstname = left(#recipient#, #firsttoat#)> I am sure someone will post something more elegant, but that will work. Rob ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:317413 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

