RE: [PHP-DB] Optimizing mail()
| From: | Beau Lebens | Date: | Thu, 17 Jan 2002 02:04:55 +0000 |
| Subject: | RE: [PHP-DB] Optimizing mail() | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-15905@lists.php.net to get a copy of this message | ||
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 |
+-------------------------+-------+------------------------+
| b.lebens@curtin.edu.au | beau | @curtin.edu.au |
| jim@curtin.edu.au | jim | @curtin.edu.au |
| john@curtin.edu.au | john | @curtin.edu.au |
| kiko@yahoo.com | 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:olnx@yahoo.com]
// Sent: Tuesday, 15 January 2002 10:57 AM
// To: php-db@lists.php.net
// 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: php-db-unsubscribe@lists.php.net
// For additional commands, e-mail: php-db-help@lists.php.net
// To contact the list administrators, e-mail:
// php-list-admin@lists.php.net
//