No commit activity in last 3 years
No release in over 3 years
# 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
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 0

Runtime

>= 0
 Project Readme

Single File Delivery Method for Mail gem

Summary

This gem is a delivery-method plug-in for 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

See Also