Re: Mass mail algo

From: Date: Fri, 15 Sep 2000 18:50:45 +0000
Subject: Re: Mass mail algo
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-16974@lists.php.net to get a copy of this message
Something to watch out for when testing like that is the quality of your receiving email server. I can test email myself at yahoo 500 times, but it's not the same performance as emailing 500 users, all with different quality mail servers (slow, bad addresses, etc). A good workaround is to use sendmail to queue up the mails first. Sendmail 8.10 offers multiple queues - we queue up 9000 emails in under 15 minutes, and the multiple queues handle the delivery when they can. Typically, our emails are all delivered within 45 minutes. James Atkinson wrote: > On Fri, 15 Sep 2000, R. Kurniawan wrote: > > Thanks for the replies people, I really appreciate it. Finally I came to > > the conclusion that apparently PHP cannot handle such mass mailing system. > > > > I'll talk to the sysadmin here, he's on a honeymoon, will be back on Monday > > (18 Sep) and see if he can set something up for me... > > > > Thanks again :) > > PHP Handles mass mailing just fine. I built a script for FSN.net that emailed > out new passwords to all their 90,000 users. What I did, if I recall correctly, > was set the max execution time to 4 hours (set_time_limit(3600 * 4); ). Generate > the new passwords. Then email 100, wait 5 seconds, email another 100...etc etc. > I quit the company befor the script could be put into production but I tested it > on a fake database containing 5000 users all with my email address and > effectivly mail bombed myself :) > > All you have to worry about it overloading the outgoing sendmail buffers, and > make sure your max. execution time is pretty high. > > -- > James Atkinson > ----------------------------------------------------------------- > James Atkinson 100world > Technical Developer 512-1529 West 6th Avenue > phone: +1-604-637-8122 Vancouver, BC, V6J 1R1 > fax: +1-604-742-1770 Canada > email: james.atkinson@100world.com http://www.100world.com > > +---------------------------------------------------------------+ > | This message may contain confidential and/or privileged | > | information. If you are not the addressee or authorized to | > | receive this for the addressee, you must not use, copy, | > | discolse or take any action based on this message or any | > | information herein. If you have received this message in | > | error, please advise the sender immediately by reply e-mail | > | and delete this message. Thank you for you cooperation | > +---------------------------------------------------------------+ > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net -- ========================== Michael Kimsal http://www.tapinternet.com 734-480-9961

« previous php.general (#16974) next »