RECENT POSTS

Rubygem-pony

May 26, 2018

Express way to send mail from Ruby

The express way to send mail from Ruby.

Send email in one command Pony.mailto => ‘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

WWW https//github.com/benprew/pony