Jump to content

Mail sending stops at 25... kinda


random_monkey

Recommended Posts

Howdy

I've wrote an email script that emails in a loop to a whole group of people (Without sockets).

Originally it ran straight in the browser, but stopped at around 15/20 people, so I changed the output to text files and setup a cron job to do it all (Assuming it was the webserver that was timing out).

Anyway, it wasn't, so I ran some more tests and found it to be consistently stopping at 25. I couldn't find any "timeout" information anywhere though, so did a quick "sleep(10)" at person 20 in the script.
I was expecting it to 'clog up' at 45 this time, only it went straight through the whole list fine and sent a full 214. (Only pausing at person 20).

Any ideas what's going on?

cheers
--
rm
Link to comment
https://forums.phpfreaks.com/topic/29511-mail-sending-stops-at-25-kinda/
Share on other sites

maybe its is really the webserver.. someones have locks like that. I have one where the lock don't allow me to send >200 per day.. :( that is really sad..

with the sleep, the timeout will show easyer (i think), so, if it works that way, your process is broking.. do you test the same script at another webserver? try it, without the sleep..

D.Soul

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.