MailSpyInterceptor
BCC yourself in every email sent by your Rails application.
Installation
In Gemfile
:
gem 'mail_spy_interceptor'
In config/environments/production.rb
:
Mail.register_interceptor MailSpyInterceptor.new(ENV['EMAIL_RECIPIENTS'])
From the command line:
heroku config:add EMAIL_RECIPIENTS='lorem@ipsum.com' --remote production
Credits
MailSpy is maintained by Juanda Zapata
License
MailSpy is © 2014 Juanda Zapata. It is free software, and may
be redistributed under the terms specified in the LICENSE
file.