Ok,
This may be a strange request as most of my searching turned out people's desire to limit mail sending from scripts...
I have a client who has a mysql table of email subscribers. They have a custom-built php script that takes values from a web form and then loops through the email addresses from the table and sends each the same email using the mail() function in php.
It's functional and it's protected via login (it's an admin-type tool), but I've discovered a new wrinkle...
they have about 2200 subscribers and the last time (a few days ago) that they tried to send an email using the php script/form it only went to about 500 of them.
So I'm racking my brain trying to figure out why it would have stopped at about 500.
None of these seem to make any difference. It still only gets through about 500-800 emails before it just stops... no errors... just stops.
Can anyone help me understand what else might be causing this? I want to understand how to allow this script to send to all 2200 subscribers and what I need to set/adjust to make that happen.
P.S. FWIW: it's for a band and the 2200 is their opted-in fan base, so it gets used regularly to send schedules and whatnot.
Thanks!
-Danimal
This may be a strange request as most of my searching turned out people's desire to limit mail sending from scripts...
I have a client who has a mysql table of email subscribers. They have a custom-built php script that takes values from a web form and then loops through the email addresses from the table and sends each the same email using the mail() function in php.
It's functional and it's protected via login (it's an admin-type tool), but I've discovered a new wrinkle...
they have about 2200 subscribers and the last time (a few days ago) that they tried to send an email using the php script/form it only went to about 500 of them.
So I'm racking my brain trying to figure out why it would have stopped at about 500.
- I've added a line to increase the php execution time limit.
- I've set Server Configuration -> Tweak Settings -> Maximum each domain... to 0 (unlimited)
- I've put in a "slowdown" line in the script so that every 25 emails, it sleeps 5 seconds
None of these seem to make any difference. It still only gets through about 500-800 emails before it just stops... no errors... just stops.
Can anyone help me understand what else might be causing this? I want to understand how to allow this script to send to all 2200 subscribers and what I need to set/adjust to make that happen.
P.S. FWIW: it's for a band and the 2200 is their opted-in fan base, so it gets used regularly to send schedules and whatnot.
Thanks!
-Danimal