I think you may have misunderstood Larry's question. Use cfloop instead of cfoutput if you are outputting a recordset within the body of the e-mail.
If you want to send the e-mail to a group of recipients derived from a query, that's when you would use the query attribute of cfmail > -----Original Message----- > From: Nicholas M Tunney [mailto:[EMAIL PROTECTED] > Sent: Monday, November 06, 2006 2:59 PM > To: CF-Talk > Subject: Re: <cfmail> and <cfoutput> > > Use the query attribute of <cfmail> > > Nic > > Stephens, Larry V wrote: > > Trying to send a message by cfmail that includes a list of positions I > > retrieved using a query. > > > > When I put <cfoutput query...> inside the cfmail tags I get a nested > > output error. > > > > Can't do? > > > > > > > > Larry V. Stephens > > Indiana University > > Office of Risk Management > > [EMAIL PROTECTED] > > 812-855-9758 > > > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259340 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4