|
Posted by J.O. Aho on 10/13/89 11:34
Mattia wrote:
> I have a very big problem.
> I must send a single mail to multiple receivers. The number of
> receivers are very big: approximately 6000 users, but this number
> increase each year.
> I find a lot of suggestion: insert all e-mail address (or part of them)
> in the field BCC.
> But I use a hosting server, for this reason I don't know if this
> solutions is possible.
A host may limit the number off addresses you can have in a header, to know
that you need to ask the hosts support about that.
At the same time the receiving SMTP may have restrictions on how many
addresses can be in a header.
So I would think the best is to group the users onto small groups ca 10-20
addresses for each mail, you will have a long execution time for the script,
so you need to prolong the timeout time that is set in php.ini (this can be
done from the script itself).
IMHO the absolute best is to have a maillist daemon (a real one, no php
script) that will send the mail out, this way you most likely will avoid the
problem completely. Then you can send the mail from the php script to the
maillist daemon who only does forward mail from the server in question and
then forwards the mail to all who are in the list. Of course you will need php
scripts that can add/remove users from the datafile that the maillist uses.
//Aho
[Back to original message]
|