Rails action Mailer raise_delivery_errors, how does it works? How to detect bounces? -
i have rails 4.2.0 application sends lots of mails, it's elearning platfrom.
at moment have problems bounces, lots of mails coming because mail-adresses aren't valid.
one way solve problem manually, starting deleting them database. thats not suitable because there 10000 users registered.
now questsion is
config.action_mailer.raise_delivery_errors = true
exactly? do? , how response this?
does mail() function got return value can see if mail send or not?
and there methods or best practices detect actionmailer, if mail delivered or not?
if set false
, mail silently catch , ignore exceptions raised through attempting deliver email. reference.
in production set false
, because otherwise failed email throw error end user.
in development set true
.
take @ this gem.
among other features there method check if mail bounced
.
Comments
Post a Comment