Ian,
Sorry, I misunderstood what the problem was. Remove the CFOUTPUT tags
altogether from within the CFMAIL tag, as below.
Joy
<CFMAIL
TO="#Client.email#"
FROM="[EMAIL PROTECTED]"
SUBJECT="Your latest Order">
THIS SITE IS NOT LIVE. THE ORDER YOU PLACED WILL NOT BE PROCESSED.
<CFLOOP QUERY="getCompleteOrder">
Item Qty Net Price
-----------------------------------------------------------
#LJustify(Title, 40)# #RJustify(itemQuantity, 3)#
#RJustify(NumberFormat((itemPrice * itemQuantity), "999,999.99"), 6)#
</CFLOOP>
Subtotal:
#getCompleteOrder.netCost#
Tax: #getCompleteOrder.tax#
Shipping: #getCompleteOrder.shipping#
-------------------------------------
Total: #total#
</CFMAIL>
At 05:09 PM 4/9/00 -0700, you wrote:
>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?sidebarsts&bodysts/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.