RubyGems.org

# Single File Delivery Method for Mail gem ## Summary This gem is a delivery-method plug-in for [mail](https://github.com/mikel/mail) that delivers all mail to a single file for testing. The Mail gem already provides a file delivery-method that appends a copy of each message to a file named after each message recipient, but I want them to all go to a single file so that I can monitor them from another window with `tail -f my-file`, or `cat my-named-pipe` while I hand-test the web interface from a browser. Of course this is _in addition to_ running automated tests with Rspec and Cucumber. At some point in development, I want to actually see the pages and enter my own inputs and perhaps display the mail messages in an HTML reader. ## Synopsis Mail.defaults do delivery_method SingleFileDelivery => '/tmp/my-file.txt' end

installgem install mail-single_file_delivery
Authors

Larry Siden, Westside Consulting LLC

1,051 total downloads 1,051 for this version
Owners

Cdb15b84fe2146fa0f381240875081bd

Gemfile
gem 'mail-single_file_delivery', '~> 0.0.1'
Versions
  1. 0.0.1 January 1, 2012 (5.5 KB)
Runtime Dependencies
  1. mail >= 0
Development Dependencies
  1. rspec >= 0