Ian,
I've had this same problem before. The solution was to create a
custom tag for the query and the output. Just make a page called
mailquery.cfm (or what ever you want) put your query and your cfoutput on
it. Then inside your message call the page with <cf_mailquery> (or what
ever you name your page) where you want the output to be.
Make sure there are no returns in your output on the custom tag. They will
show up in the E-mail after it's sent. Be sure to
<cfsetting enablecfoutputonly="yes"> at the top of the page.
IE: Your cfoutput statement must be all on one LONG line
<cfoutput query="my_query">#output#</cfoutput>
and not...
<cfoutput query="my_query">
#output#
</cfoutput>
Each of the two returns will give you two blank lines in your E-Mail. I
don't know why cf says there is already a query attribute when there is not
one specified but it must be an assumed one. Kept me wondering for a while.
Let me know if this works for you...
Seajay
----- Original Message -----
From: Ian <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, April 09, 2000 8:09 PM
Subject: Cf-Mail formatting
Thanks for the advice Joy.
However, I am still having the same problem. Even though I don't have Query=
in the CFMAIL tag, I am getting an error saying that a CFMAIL tag which
contains a Query attribute cannot contain a CFOUTPUT tag which also contains
a
QUERY attribute.
This is getting absurd. Surely someone has used CFMAIL to send order
receipts
to customers?
Ian
____________________________________________________________________
Get your own FREE, personal Netscape WebMail account today at
http://webmail.netscape.com.
----------------------------------------------------------------------------
--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=sts&body=sts/cf_talk or send
a message to [EMAIL PROTECTED] with 'unsubscribe' in the
body.
------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.