2010-08-30 23:49:13 +02:00
|
|
|
The express way to send mail from Ruby.
|
|
|
|
|
|
|
|
Send email in one command:
|
|
|
|
Pony.mail(:to => 'someone@example.com', :body => 'hello')
|
|
|
|
|
|
|
|
Pony uses /usr/sbin/sendmail to send mail if it
|
|
|
|
is available, otherwise it uses SMTP to localhost.
|
|
|
|
|
|
|
|
Also, you may need rubygem-smtp_tls if you want to
|
|
|
|
send via tls/ssl and are using ruby < 1.8.7
|
|
|
|
|
2010-11-11 04:22:25 +01:00
|
|
|
WWW: https://github.com/benprew/pony
|