Hi Paul,

Another Haddon.  Not too many of us :)

On 31/05/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
>
> On Thu, May 31, 2007 at 12:54:14PM +1000, Dale Fraser wrote:
>
> > Just build a list of email addresses first.
> >
> > Ie
> >
> > <cfset emailTo = "" />
> > <cfloop query="users">
> >     <cfset emailTo = listAppend(emailTo, users.email, ";") />
> > </cfloop>
> >
> > <cfmail
> >       to="#emailTo#"
> >
>
> or:
>
> <cfmail to="#valueList(users.email,";")#"  ... >
>
> Of course this is exposing everyone's mail address to everyone
> on the list. It'd be better to do:
>
> <cfmail to="[EMAIL PROTECTED]"
> bcc="#valueList(users.email,";")#"  ... >
>
>
> Paul Haddon
> Technical Services Manager
> Formstar Print Technologies
>
>
> >
>


-- 
Cheers
Simon Haddon

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to