Re: mailing list using mail()
| From: | Yasuo Ohgaki | Date: | Wed, 10 Apr 2002 11:46:57 +0000 |
| Subject: | Re: mailing list using mail() | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-92371@lists.php.net to get a copy of this message | ||
Michael Virnstein wrote:
Right, but some MTA cannot handle too large header(s). Why don't you use list server in first place? For example, ezmlm support database backends if you are using qmail. PHP has ezmlm_hash function for it. -- Yasuo OhgakiShould I just use one message and append the BCC: line of the one message?this could probably be the best way.
"Petre Agenbag" <internet@vsa.co.za> schrieb im Newsbeitrag news:3CB419E7.4090507@vsa.co.za...Hi, the combination of PHP and mysql and the ease of use of the mail() function obviously leads me to believe that it *should* be a singe to use php to send customised messages to all my users , of whom I have details in a mysql table by simply running a "select * from table" and then using a while loop to run through every row and sending an e_mail to $user_in_table. The obvious problem here is that ( in my case 17 000 users) this can easily kill the mail server and could also cause the script to timeout or ( if increasing the timeout) kill the server outright. So, what are my options? Should I be attempting this ( if not, how can I keep others that are hosting on my machines from trying this with their own tables) Should I just use one message and append the BCC: line of the one message? Thanks