Home

Awesome

About

mail_inbox is an email catcher for visual testing. It might be also used for acceptance tests with capybara. Acts like a mail client for mail deliveries from your app.

Inspired by / borrowing / simillar / yet different from:

Usage

Rails 2.x

gem install mail_inbox

in config/environments/development.rb:

# MailInbox preview app
require 'mail_inbox'
config.middleware.use MailInbox::Mapper, '/mail_inbox'

# Action mailer using MailInbox
config.action_mailer.perform_deliveries  = true
config.action_mailer.delivery_method     = :mail_inbox

Rails 3.x

TBD

Sinatra

TBD