I've used this type of method before.  This code is modified from what I use
in my case, but you get the idea.  

<CFLOOP COLLECTION="Array or Stucture Name" ITEM="Email_Address">
        <CFMAIL 
                TO="#Email_Address#"
        FROM="[EMAIL PROTECTED]"
                SUBJECT="Subject"
                SERVER="mail.domain.com">

                Message text.

        </CFMAIL>
</CFLOOP>

Jesse D. Roberts
Business Process Analyst
Procurement Quality Assurance
Boeing - Huntington Beach, CA
[EMAIL PROTECTED]
Ph. 714-896-3462
Fx. 714-896-3303

> -----Original Message-----
> From: Jeff Bearer [SMTP:[EMAIL PROTECTED]]
> Sent: Monday, July 03, 2000 10:59 AM
> To:   cf-talk
> Subject:      Can you loop a CFMAIL tag w/o a query?
> 
> I'm working on something that will upload a text file and then parse
> info and send out mail to the addresses that are loaded into an array,
> but CFMAIL tells me that you can't use a CFOUTPUT tag in a CFMAIL tag
> unless you have the QUERY attribute.
> 
> Is there a way to do this or am I going to have the load this data into
> the database?  After the mail is sent the information is not needed so
> it's kinda silly to load it into the database.
> 
> -Jeff Bearer
> --------------------------------------------------------------------------
> ----
> Archives: http://www.eGroups.com/list/cf-talk
> To Unsubscribe visit
> http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
> send a message to [EMAIL PROTECTED] with 'unsubscribe' in
> the body.
------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to