i do not think you need the QUERY="SendQuote" attribute in
your <cfmail>
tag. remove it, and instead do <cfoutput
query="SendQuote"> in the body
of the tag to output the requested items.
the QUERY attribute of <cfmail> tag is really only
useful when that
query pulls multiple email addresses to send the mail to, and
possibly
different email content for each recipient... this is not the
case in
your case...
plus, <cfmail> tag acts akin to <cfoutput> tag,
so you do not need to
put <cfoutput> in the mail body for cf to evaluate your
variables
(unless you need to output data from a query, but even then
you can just
use <cfloop query="..."> instead of <cfoutput
query="...">)
see if this code works as you need:
<cfmail
to="marcia@sales.com"
from="#Getemail.email#"
subject="Quote request from #Getemail.FirstName#
#Getemail.lastname#"
server="mail.sales.com"
type="HTML">
<table>
<tr><td>Please send quotes on the following
items:<br><br></td></tr>
<cfoutput QUERY="SendQuote">
<tr>
<td><strong>#SendQuote.SKU#</strong> -
#SendQuote.ItemName#</td>
</tr>
</cfoutput>
<cfif len(trim(form.comments))>
<tr><td><br><br><strong>Comments:</strong></td></tr>
<tr><td>#form.comments#</td></tr>
</cfif>
</table>
</cfmail>
Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com/