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
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
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.