Rails Sending eMails via ar_mailer in priority sorted batches
July 20, 2009 • Ruby on Rails • Comments
Ever wondered how to e.g. send both, low and high-priority emails from the same server/app using ar_mailer in Ruby on Rails?
Propably not, since all your emails are low! But just try to imagine websites you could never get that public by yourself, having high priority mails. E.G. Passwordrecoverymail might be HP than a “new guestbook entry” and so on.
ar_mailer does not provide a solution for that problem yet, so here is my little patch.