Using a query column with the email addresses... Divide the number of email by three, and use the udf http://www.cflib.org/udf.cfm?ID=117 to spilt the query into 3 even parts.
Are these emails personalized, or are they all the same piece of email? If they are all the same, then just use the query column as your cfmail. Otherwise you will still need to loop. <cfmail to="#mailserver1.emails#" ...> <cfmail to="#mailserver2.emails#" ...> -- jon mailto:[EMAIL PROTECTED] Friday, August 16, 2002, 12:32:36 PM, you wrote: B> Hey everyone, I'm writing a mail app and looking for suggestions for a cool B> way to handle part of the app: B> I am sending a bunch of emails out with CFMAIL. I am looping over a list of B> the addresses, it could be from a query or a struct or an array, doesn't B> really matter to me or the app, anyway, as I loop over the emails I would B> like to have the app evenly distribute the mails between any number of my B> mail servers, to keep the load lighter on all of them. It could be any B> number, but right now it is 3: mail, mail2, and mail3. Anyone have any B> thoughts about a really cool or elegant way to do this? Thanks y'all. B> Buddy ______________________________________________________________________ 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

