Skip to content
Browse files

readme improvements

  • Loading branch information...
1 parent 177fd2f commit 0955cfd8bcbaa17ea2eb63cc4dd6fa1a7af6ff72 @ryanb committed Sep 7, 2011
Showing with 5 additions and 4 deletions.
  1. +5 −4 README.rdoc
View
9 README.rdoc
@@ -1,6 +1,7 @@
= Letter Opener
-Preview mail in your browser instead of sending it. When using the included delivery method, any sent mail will open automatically into the browser.
+Preview email in the browser instead of sending it. This means you do not need to set up email delivery in your development environment, and you no longer need to worry about accidentally sending a test email to someone else's address.
+
== Rails Setup
@@ -12,12 +13,12 @@ Then set the delivery method in <tt>config/environments/development.rb</tt>
config.action_mailer.delivery_method = :letter_opener
-Now any delivered mail will pop up in your browser. The messages are stored in <tt>tmp/letter_opener</tt>.
+Now any email will pop up in your browser instead of being sent. The messages are stored in <tt>tmp/letter_opener</tt>.
-== Other Setup
+== Non Rails Setup
-This can be used with anything that uses the Mail gem. Simply set the delivery method when configuring Mail and specify a location.
+If you aren't using Rails, this can be easily set up with the Mail gem. Just set the delivery method when configuring Mail and specify a location.
require "letter_opener"
Mail.defaults do

0 comments on commit 0955cfd

Please sign in to comment.
Something went wrong with that request. Please try again.