Sollutions for lots of emails?

Sollutions for lots of emails?

by Brendan Anderson -
Number of replies: 0
My Moodle installation takes anywhere from 5 - 45 minutes to send forum digest emails (I have about 10,000 users). We have had some problems in the past in reaching our PHP max execution time. When this happens, apparently all the emails are already marked as sent, whether they are or not. So, we don't really have a way to recover.

For sites that send lots of email, a batch or multithread approach would probably be better.

If emails where sent in batches of say 100 or 500, then failures would be less catastrophic as only the single batch would be effected. PHP max execution time could be kept at a reasonably low number.

A multithread system might be built on top of that to launch multiple batches simultaneously, making better use of my hardware to get the job done faster.

Has anyone else dealt with this issue? Any tips for site with lots of emails?


Average of ratings: -