Ahh... all my bitching, and I'm wrong! (gee... that'll be the first time
THAT happened)

Thanks guys!

        -- jon


-------------
jon roig
senior manager, online production
epilepsy foundation
phone: 215.850.0710
site:  http://www.epilepsyfoundation.org
email: [EMAIL PROTECTED]


-----Original Message-----
From: Jann VanOver [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 20, 2002 7:27 PM
To: CF-Talk
Subject: Re: CF vs. PHP email handling


jon <[EMAIL PROTECTED]> wrote:
>> Maybe it's just me, but whenever I try to call <cfmail>
>> within a <cfoutput query="blah"> it gives me a warning
>> "Cannot execute named somethingOrOther" yadda yadda yadda...


On 5/20/02 12:49 PM, "Dave Watts" <[EMAIL PROTECTED]> wrote:
>
> That's right. You can't use CFMAIL within a CFOUTPUT block. Essentially,
the
> two do the same sort of thing - CFOUTPUT outputs to the HTML page that
will
> be returned to the browser, while CFMAIL outputs to the mail queue. CFMAIL
> has its own QUERY attribute, which you can use instead of using CFOUTPUT.
>

Dave is right, but noone has told Jon how to avoid his "yadda yadda yadda"
problem!

  replace <cfoutput query="blah"> with <cfloop query="blah">

You can then place a <cfmail> block inside the loop if you need to!

Hope this helps!


--
J E VanOver
http://www.dragonflygirl.com/resume


______________________________________________________________________
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to