It really depends on the mta you use... if your going to use mail(); the I would put the list of addresses in an array and the do

foreach($addressArray as $address) {
mail($address,'Here is your subject','Here is your content');
}

Rolf Brusletto
http://www.phpexamples.net

John Christopher wrote:

I am writing a script that will query a database
table for some statistical information, and then
email it (daily, weekly, and monthly) to a list of
subscribers.  I don't know ahead of time how many
persons will be subscribed to receive the info
(it could be 20 persons or 2000 or more).  Email
addresses can be added to or deleted from the
subscriber list at any time.

If I am not mistaken, MTAs have a limit on how
many recipients can be specified on the To: line
of an email message.  What is the limit, or does
it depend on the MTA you're using (sendmail, qmail,
etc), or other factors?  If there is such a limit,
then what is the best way to send the message to
each recipient?

Thank you.


__________________________________ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com




-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to