I have over 4,000 users who have signed up for weekly email updates. To send an email, I just use:
mail($to,$subject,$message,$headers);
Which works great. My question is: how many letters can you send at once ? Can I send all 4000 at once by going through an array of letters inside a loop? Or will it cause a situation timeout, only part of the list will receive emails?
, - PHP - script, . -, , . , , .
PHP , , , .
linux sendmail sendmail. , , . Windows , , , .
, (2) (). , (1) . (500000) .. (: , set_time_limit (10) , .)
, , . ( , SMTP php.ini, linux, , .) , .
EDIT Mac. IP-. Mac , , , -. - - 4000 . (, , .) , , , . .
php, sendmail - , .! PHP sendmail...!
, , , . , PHP.
, WAMP, , mail() . , MTA, .
. . " cron"