Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 31 lines (15 sloc) 0.859 kB
3ad5f1b @adamwiggins readme
adamwiggins authored
1 = Pony, the express way to send email in Ruby
2
3 == Overview
4
5 Ruby no longer has to be jealous of PHP's mail() function, which can send an email in a single command.
6
cc5496b @adamwiggins doc typo
adamwiggins authored
7 Pony.mail(:to => 'you@example.com', :from => 'me@example.com', :subject => 'hi', :body => 'Hello there.')
3ad5f1b @adamwiggins readme
adamwiggins authored
8
9 Any option key may be omitted except for :to.
10
11 == Transport
12
13 Pony uses /usr/sbin/sendmail to send mail if it is available, otherwise it uses SMTP to localhost.
14
67c9d8e @arunthampi Update README to reflect the existence of a :via option
arunthampi authored
15 This can be over-ridden if you specify a via option
16
17 Pony.mail(:to => 'you@example.com', :via => :smtp) # sends via SMTP
18
19 Pony.mail(:to => 'you@example.com', :via => :sendmail) # sends via sendmail
20
3ad5f1b @adamwiggins readme
adamwiggins authored
21 == Meta
22
23 Written by Adam Wiggins
24
1e61651 @adamwiggins contributor credits
adamwiggins authored
25 Patches contributed by: Mathieu Martin, Arun Thampi, and Freaky
26
3ad5f1b @adamwiggins readme
adamwiggins authored
27 Released under the MIT License: http://www.opensource.org/licenses/mit-license.php
28
29 http://github.com/adamwiggins/pony
30
Something went wrong with that request. Please try again.