I have seen examples of the query attribute used in CFMail, but I have only seen it used to display data from a query in one email to be sent to one person.  What is the syntax for providing a query attribute with a dynamic "to" attribute along with a customized welcome message.  See below

<cfmail to="[EMAIL PROTECTED]" from="[EMAIL PROTECTED]" query="emailList">
Hi, <cfoutput>#emailList.name#</cfoutput>
</cfmail>

This will only send one email to [EMAIL PROTECTED] where the body of the email is "Hi, name1 name2 name3".

How would you rewrite this tag to accomplish a successful mail merge?
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to