This was just discussed last week. Here's how:
$connection = mysql_connect(host,user,pass);
$db = mysql_select_db(db_name, $connection);
$sql = mysql_query(SELECT * FROM table_name ORDER BY email ASC);
while ($row = mysql_fetch_array($sql)) {
$email = $row[email];
$name =
I did something like that once. Mine sent only about a few hundred at a
time and it was still quite a strain on the system because you have a TON
of sendmail processes started and running at the same time. Just be aware
of the possible system load.
- dan
On Thu, 16 Aug 2001, Jimmy
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
mail()-function.
You may experience problem with max
Bäckström [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Thursday, August 16, 2001 6:21 PM
Subject: Re: [PHP] Sending alots of mail
I did something like that once. Mine sent only about a few hundred at a
time and it was still quite a strain on the system because you have a TON
of sendmail processes
4 matches
Mail list logo