Because if no records are returned by the query NOTHING is generated by ColdFusion. For example:
<cfif RecordCount.MyQuery> <!--- query has returned at least one record ---> <cfmail ....> Send your emails... </cfmail> <cfelse> <!--- no records found. Query does not exist ---> No records. Do nothing or send an email with something else. </cfif> HTH >> I'm sending a singular email, and using the query to output data in the email (rather than as a email address list) - why SHOULDN'T the email send - just with no results displayed inside the cfoutput? --- You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia http://www.mxdu.com/ + 24-25 February, 2004
