I have done this, and it's not a bad idea as long as you aren't sending spam.
It's rather easy to do this, just do a mysql_query() from the database where you
select the subscribers field and then do a while which sends out emails via the
You may experience problem with max execution time if you're using a bad mailserver
but it can be solved by simply extending the max execution time in php.ini or in just
the specific script.
----- Original Message -----
From: "Jimmy Bäckström" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, August 16, 2001 6:29 PM
Subject: [PHP] Sending alots of mail
I'm about to write an application that takes about 5000 mailadresses from a database,
and then sends a mail to each one of them. I haven't done this kind of apps before, so
I don't know if it's a good idea. Does anyone have any suggestions?
PHP General 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]