Does anybody know the maximum number of recipinets who can be put in "to:" of the function mail() I want to use to develop a mailing list ! Thank you in advance ! Peter peter@mp3box.f2s.com
I don't think that there is any max number of recipients in PHP, but there could be in you mailserver though. I have created and sent out messages to about 100 people without any problems.
Thank's a lot ! But how can I determine how much "to" recepients tht mailserver allow? I'm on a free host: www.f2s.com Excellent service but unfortunately with no support.. Peter peter@mp3box.f2s.com
This has no limit, except for php's Max Execution time.
$c = mysql_query("SELECT email FROM tablename"); while($c = mysql_fetch_Array($c)) { mail("$c[0]","$subject","$contents"); }
P.s. mail may not be right, but you get the idea whjat to do.
Thanks a lot ! I hope it will work !