Skip to content
This repository has been archived by the owner on Dec 9, 2023. It is now read-only.

juandazapata/mail_spy_interceptor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MailSpyInterceptor

Build Status Code Climate

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.