arunthampi / pony forked from adamwiggins/pony

The express way to send mail from Ruby.

This URL has Read+Write access

commit  377be672209ae4da6cba501b444abc4f48441f2d
tree    af4b712b4192194d99f465572fbfe5261034d612
parent  cc5496b585934f79acab658e23a6815a8fbc1336
pony /
name age message
file README.rdoc Loading commit data...
file Rakefile
directory lib/
directory spec/
README.rdoc

Pony, the express way to send email in Ruby

Overview

Ruby no longer has to be jealous of PHP’s mail() function, which can send an email in a single command.

  Pony.mail(:to => 'you@example.com', :from => 'me@example.com', :subject => 'hi', :body => 'Hello there.')

Any option key may be omitted except for :to.

Transport

Pony uses /usr/sbin/sendmail to send mail if it is available, otherwise it uses SMTP to localhost.

Meta

Written by Adam Wiggins

Released under the MIT License: www.opensource.org/licenses/mit-license.php

github.com/adamwiggins/pony