Re: Sending alots of mail
| From: | Jome | Date: | Thu, 16 Aug 2001 16:27:06 +0000 |
| Subject: | Re: Sending alots of mail | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-63061@lists.php.net to get a copy of this message | ||
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 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.
Best regards,
Jome
----- Original Message -----
From: "Jimmy Bäckström" <broder_b@chello.se>
To: <php-general@lists.php.net>
Sent: Thursday, August 16, 2001 6:29 PM
Subject: [PHP] Sending alots of mail
Hi list!
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?
/Jimmy