How to send all email from a Rails app asynchronously

徘徊边缘 提交于 2019-12-08 12:05:33

问题


I have a rails app that uses delayed_job.

Whilst DJ gives me a really easy way to setup delays on emails, is there any way to globally configure my app to send all email asynchronously regardless? The reason for this is that I have some gems that send email and don't want to have to modify them to accept DJ.


回答1:


Delayed job mailer looks like a good fit for what you want to do.



来源:https://stackoverflow.com/questions/3700788/how-to-send-all-email-from-a-rails-app-asynchronously

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!