Permalink
Browse files

Update README to reflect the existence of a :via option

  • Loading branch information...
1 parent f48635a commit 67c9d8e22e9cedd8c44ca9d4594dc7ed037e78d7 @arunthampi arunthampi committed with adamwiggins Nov 6, 2008
Showing with 6 additions and 0 deletions.
  1. +6 −0 README.rdoc
View
@@ -12,6 +12,12 @@ Any option key may be omitted except for :to.
Pony uses /usr/sbin/sendmail to send mail if it is available, otherwise it uses SMTP to localhost.
+This can be over-ridden if you specify a via option
+
+ Pony.mail(:to => 'you@example.com', :via => :smtp) # sends via SMTP
+
+ Pony.mail(:to => 'you@example.com', :via => :sendmail) # sends via sendmail
+
== Meta
Written by Adam Wiggins

0 comments on commit 67c9d8e

Please sign in to comment.