macromedia.coldfusion.cfml_general_discussion
[Top] [All Lists]

Re: cfmail: All recipients on the To: line line

Subject: Re: cfmail: All recipients on the To: line line
From: "cf_dev2"
Date: Tue, 7 Aug 2007 02:35:17 +0000 UTC
Newsgroups: macromedia.coldfusion.cfml_general_discussion
Use the ValueList function to create a list of the email addresses.  I think 
they need to be separated by a semi-colon.   Something like this

 Not tested

 <cfset theList = ValueList(yourQueryName.theEmailAddressColumn, ";")>
 <cfmail to="#theList#" from="#cookie.user_email#" subject="#form.title#" 
type="HTML">
 ....
 </cfmail>



<Prev in Thread] Current Thread [Next in Thread>