I've written some code to run through my database and send emails to a list of people. The email class works 5 times and then stops working every single time. It's not a data issue, but something else....any ideas?
I'm creating the object, sending the email, and then unsetting it before starting over with the next person.
Thanks,
John
Email Class stops working after 5 successful emails....
Moderator: General Moderators
-
Hi,
How long does it take to send these 5 emails? It's always exactly 5 emails that are send?
I think of max execution time, your script gets terminated before all emails could be send. How long does it take to send one email? If it's about 5seconds (eventually connecting to smtp?) you can run into problems when max_execution time is set to about 30seconds.
djot
-
Hi,
How long does it take to send these 5 emails? It's always exactly 5 emails that are send?
I think of max execution time, your script gets terminated before all emails could be send. How long does it take to send one email? If it's about 5seconds (eventually connecting to smtp?) you can run into problems when max_execution time is set to about 30seconds.
djot
-