cfmail with the query attribute will send an email for every row in the
query.  So if no rows no emails.

Alos drop the <cfoutput> inth email.  <cfmail> does not require it.

Brian Knott 

> -----Original Message-----
> From: Mark M [SMTP:[EMAIL PROTECTED]
> Sent: Wednesday, 4 February 2004 14:30
> To:   CFAussie Mailing List
> Subject:      [cfaussie] CFMAIL and Query Attribute
> 
> Question for ya' all.
> 
> if i have something like this:
> 
> <cfmail
>   ...
>   query = "qMyQuery"
>   >
> 
> .
>  <cfoutput>
>       #hereIsMyData#
>  </cfoutput>
> .
> 
> </cfmail>
> 
> If qMyQuery has no records in it, does that mean that the email won't
> send???
> 
> Cheers,
> 
> Mark
> 
> ------------------------------------------------------------------
> [EMAIL PROTECTED]
> ICQ: 3094740
> Safe From Bees
> [ www.safefrombees.com ]
> 
> 
> 
> 
> ---
> 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


-----------------------------------------------------------------------------------

The contents of this message are the views of the Author and do not necessarily 
reflect the views of SUNCORP METWAY LTD  ABN 66 010 831 722. 

The content of this e-mail, including attachments is a confidential communication 
between the Suncorp Metway Group and the intended addressee. Any unauthorised use of 
the contents is expressly prohibited. If you have received this e-mail in error please 
contact the sender immediately and then delete the message and any attachment(s).

http://www.suncorp.com.au


---
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

Reply via email to