https://github.com/500tech/mailrobber
Mail Robber GEM
https://github.com/500tech/mailrobber
Last synced: 5 months ago
JSON representation
Mail Robber GEM
- Host: GitHub
- URL: https://github.com/500tech/mailrobber
- Owner: 500tech
- License: mit
- Created: 2014-05-22T10:29:40.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2014-06-02T09:20:09.000Z (about 12 years ago)
- Last Synced: 2025-04-30T10:33:27.783Z (about 1 year ago)
- Language: Ruby
- Size: 156 KB
- Stars: 1
- Watchers: 18
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# MailRobber
Simple email testing for Rails
## Installation
Add this line to your application's Gemfile:
gem 'mail_robber'
And then execute:
$ bundle
Register your app in MailRobber service:
$ rails g mail_robber:install
This will be added to your config/initializers/mail_robber.rb
MailRobber.configure do |config|
config.enabled = true # enable mail interception
config.block_delivery = true # don't proceed sending email
config.token = 'token-for-your-application'
end
To open a page with your emails, run:
$ rake mail_robber:open