public
Description: An ActionMailer delivery method to save mails as files in a directory.
Homepage:
Clone URL: git://github.com/cwninja/inaction_mailer.git
Tom Lea (author)
Fri Oct 23 07:46:59 -0700 2009
commit  ac43c73a826c910f5b3c3df4bc7cfda9bd3a0fd6
tree    1b061179e27f4f12a5bb870eb8541ae247ed2b38
parent  dd72e6321be01052467423cec9c16923dadb0168
name age message
file .gitignore Thu Jan 08 04:39:42 -0800 2009 A clean git status is a joyous thing. [Tom Lea]
file README.markdown Fri Oct 23 07:46:59 -0700 2009 Updated docs to talk about gemcutter [Tom Lea]
file Rakefile Mon Jan 12 07:53:36 -0800 2009 Genspec version bump. [Tom Lea]
file inaction_mailer.gemspec Mon Jan 12 07:53:36 -0800 2009 Genspec version bump. [Tom Lea]
directory lib/ Fri Jan 09 10:45:02 -0800 2009 We should be able to use this with the minimal ... [Tom Lea]
directory rails/ Mon Jan 12 07:51:45 -0800 2009 Failed to change the path to load when I change... [Tom Lea]
directory test/ Thu Jan 08 07:43:58 -0800 2009 I missed out the rails path from the gemspec, s... [Tom Lea]
README.markdown

Usage:

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

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

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.