Most of the time, file delivery works good for non-production mode.
However, you will want the mail to send out for real for some conditions
such as mail to your own domain. So you can add the sent_if Proc to the
setting and also the smtp setting.

For example,

  config.action_mailer.file_settings = {
    location: 'tmp/mails',
    smtp_settings: {
      address:              "localhost",
      port:                 25,
      domain:               'localhost.localdomain',
      user_name:            nil,
      password:             nil,
      authentication:       nil,
      enable_starttls_auto: true
    },
    sent_if: lambda { |mail| mail.destinations.select { |address| ["yedingding@gmail.com"].include?(address) }.any?
  }
update README and version
rename sent_if to send_if
unclosed } for example configuration
failing test for Mail::Message#filename_for
fix failing test
attempt to use 'date'
Gemfile update
Updated colorbox to latest.
Merge pull request #1 from devonitrg/update_resources

Update resources
Removed livequery and tablesorter.
Added dependency for datatables.
Converted to datatables, removed unneccessary styling, js.
Merge branch 'update_resources', remote-tracking branch 'origin'
Use the document object and a selector so the events are bound to dynamically created objects.
Use proper $.on delegate binding.
This ensures anything added to the dom later (i.e. rows of the next page) get the events.
Also removed console.log call.
Merge pull request #5 from devonitrg/master

Removed livequery and tablesorter
Merge pull request #2 from bantic/fix_nil_date_variable

Fix nil date variable
bump up with 0.1.0.

* Removed livequery and tablesorter, instead, using jquery-datatables. Thanks @devonitrg.
* Fix bug when the date header is absent in mail raw data
If the mails directory not exists, render the page with no mails