I\'m in the process of upgrading an old document management system. Part of the
ID: 657766 • Letter: I
Question
I'm in the process of upgrading an old document management system. Part of the existing functionality sends emails to some or all users when certain events happen to documents on the system.
Currently, the code generates an inordinate number of emails in response to these events which it then despatches using PHP's mail() function while the user sits and waits...
...and sometimes waits, and waits and... you get the picture.
I'm looking for some sort of library that will:
queue these emails quickly somehow
despatches them over time using some sort of background script driven by cron or another scheduler.
is able to throttle outbound mail and 'jump the queue' for urgent mail.
MySQL storage would be good, other non-database solutions might work
It would be great if it has some sort of delivery failure processing, but this is not essential.
Free would be very nice
I've used PHPMailer - no background processing - and SwiftMail - same problem AFAIK.
Explanation / Answer
I didn't seem to get much traction with this so I've had to knuckle down and create my own which you can find on GitHub.
It's early days and this requirement was holding up another project, so it's a bit rudimentary. I'll tidy it up when I get a few hours.
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.