开发者

How to get a before filter in Mailer?

开发者 https://www.devze.com 2023-01-16 05:25 出处:网络
Am using action mailer in ruby on rails. I just wa开发者_如何学Pythonnt to filter the recipient emails according to email_bounce flag in users table.

Am using action mailer in ruby on rails.

I just wa开发者_如何学Pythonnt to filter the recipient emails according to email_bounce flag in users table.

Is it possible to use any filter in mailer


I recommend doing this in controller use mailer for sending emails only. I normally learn to keeping logic in model and controller

0

精彩评论

暂无评论...
验证码 换一张
取 消