A simple gem that allows you to catch emails sent from your Rails app into your browser.
Based entirely on letter_opener, with pull requests, bug fixes, and real versioning.
Add this line to your application's Gemfile:
And then execute:
Or install it yourself as:
$ gem install email_spy
To start using email_spy simply add this line to your
config.action_mailer.delivery_method = :email_spy
That's it! Whenever your development mode application sends an email through action_mailer it'll open the default browser.
- Fork it
- Create your feature branch (
git checkout -b my-new-feature)
- Commit your changes (
git commit -am 'Add some feature')
- Push to the branch (
git push origin my-new-feature)
- Create new Pull Request
I give a huge amount of credit to Ryan Bates for building letter_opener. I grabbed his code, refactored the entire thing, added all the below contributors open pull requests, and fixed the bugs in the open bug list. Oh and I released it as the proper 1.* version it should be. Note: 95% of the pull requested code was entirely rewritten as well.