Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

An ActionMailer delivery method to save mails as files in a directory.

branch: master

Fetching latest commit…


Cannot retrieve the latest commit at this time

Octocat-spinner-32 lib
Octocat-spinner-32 rails
Octocat-spinner-32 test
Octocat-spinner-32 .gitignore
Octocat-spinner-32 Gemfile
Octocat-spinner-32 Gemfile.lock
Octocat-spinner-32 README.markdown
Octocat-spinner-32 Rakefile
Octocat-spinner-32 inaction_mailer.gemspec


Add the following lines to the appropriate config/environments/*.rb file:

config.gem "inaction_mailer", :lib => 'inaction_mailer/force_load', :source => ''

As an extra step, for the sake of paranoia, you can check the delivery mechanism with:

./script/runner 'p ActionMailer::Base.delivery_method'

Now when you app send e-mails, it will deliver them to RAILS_ROOT/tmp/sent_mails/mail.*.txt.

Viewing your messages in a mail client

For this task, I kindly hand you over to popthis. It will serve your sent_mails folder as a pop3 account on your local machine.

Something went wrong with that request. Please try again.