RubyFlow The Ruby and Rails community linklog

Maily v0.9.0 - external mailers support

A new version of Maily (https://github.com/markets/maily) v0.9.0 has been published 🚀. Mainly, includes a new feature to simplify integration with emails from other gems. Example, with Devise:

Maily.hooks_for('Devise::Mailer') do |mailer|
  mailer.hide_email(:unlock_instructions)
  mailer.register_hook(:reset_password_instructions, user, 'random_token')
end

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in