hey olinux - 
i did something like this with a mailing list thing i have for a website
(insertfashionhere.com - about to be relaunched) and all i did was ordered
the emails to be sent by their server - as you have said.

mine were in a database, so in my select i did something liek

SELECT email, name, SUBSTRING_INDEX(email, '@', 1) as domain FROM mailing
ORDER BY domain

or something, which would return something like

+-------------------------+-------+------------------------+
| email                   | name  | domain                 |
+-------------------------+-------+------------------------+
| [EMAIL PROTECTED]  | beau  | @curtin.edu.au         |
| [EMAIL PROTECTED]       | jim   | @curtin.edu.au         |
| [EMAIL PROTECTED]      | john  | @curtin.edu.au         |
| [EMAIL PROTECTED]          | kiko  | @yahoo.com             |
+-------------------------+-------+------------------------+

and it seemed to mail faster than if it was in random order.

hope that helps

-b


// -----Original Message-----
// From: olinux [mailto:[EMAIL PROTECTED]]
// Sent: Tuesday, 15 January 2002 10:57 AM
// To: [EMAIL PROTECTED]
// Subject: [PHP-DB] Optimizing mail()
// 
// 
// Just came across this post and wondered if anyone has
// done this - if so can you share some code?
// 
// The idea is to order emails by the mailservers
// 
// Would you just order the emails by domain name? [that
// would group all aol.com, msn.com, yahoo.com emails]
// 
// http://www.faqts.com/knowledge_base/view.phtml/aid/300/fid/21
// 
// Thanks,
// olinux
// 
// __________________________________________________
// Do You Yahoo!?
// Send FREE video emails in Yahoo! Mail!
// http://promo.yahoo.com/videomail/
// 
// -- 
// PHP Database Mailing List (http://www.php.net/)
// To unsubscribe, e-mail: [EMAIL PROTECTED]
// For additional commands, e-mail: [EMAIL PROTECTED]
// To contact the list administrators, e-mail: 
// [EMAIL PROTECTED]
// 

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to