Welcome to WebmasterWorld Guest from 184.108.40.206
I am trying for quite a lot of times to send 10000 or more emails at once. I have tried it many ways by loop , but its stops after sending 900-1000 and then by calling system in php so that the loop continues in backend, it increased the performance but it again it can send up to 1700-1800 atmost and in all cases I have written set_time_limit(0) on top of the script.
Can anyone suggest any other way out for this.
The way you are describing your problem is that you are getting errors from this script. Is this true? If so what are they? It's more likely that there is a limit on how many emails you can send from your host, but who knows. In any case, I'd make this script using PHP CLI; it will run better and it will have no time limit.
But while we are sending emails we are also storing them in our database
to track them if they delivered, bouncce.. etc.., Which is the main purpose of sending those emails as one does in case of email campaigns.