I did just think of one other option that may not be so bad...

if you init a counter at 0:

<cfset counter=0>

and then use a conditional loop:

<cfloop condition = "counter EQ query.recordcount">
<cfmail to="" >

Nope, still ain't gonna cut it.

It's a bunch of extra code and work when the functionality to just
send it out is already there...

Well, I tried to find a funky way that was "better" but I still can't
convince myself that when a tool is built in to the system, there's a
reasonable way to do the same work by altering the system's built-in
methods.

Oh well...

Back to sequence diagrams... fun fun!

Laterz,
J

-- 
Continuum Media Group LLC
Burnsville, MN 55337
http://www.web-relevant.com

On Fri, 14 Jan 2005 07:33:13 -0500, James Watkins
<[EMAIL PROTECTED]> wrote:
> When sending email to a list of several hundred students using CFmail I would 
> like to receive just 1 copy of what I send. How can I modify below to do that?
> 
>  <cfmail query="mail_roster"
>       to = "#student#"
>       from = "#mailfrom#"
>       subject = "Greetings">
>       blah, blah
> </cfmail>
> 
> Jim Watkins
> Vice President of
> Technology & Institutional Services

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Protect Your PC from viruses, hackers, spam and more. Buy PC-cillin with Easy 
Installation & Support 
http://www.houseoffusion.com/banners/view.cfm?bannerid=61

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:190463
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to