tags:

views:

223

answers:

2

Pony is broken in ruby 1.9. Does any recommend any alternatives for me so I can send mail through my Gmail account? Cheers

+2  A: 

Have you try Mail from Mikel Lindsaar. It's a really great syntax (http://github.com/mikel/mail)

shingara
+1 for Mail. It's also the default email library for Rails as of Rails 3.
Simone Carletti
+1  A: 

Pony works for me in Ruby 1.9, and I'm also using the gmail SMTP server. Here's how I have it set up...

require 'pony' Pony.mail(:to => '[email protected]', :via => :smtp, :via_options => { :address => 'smtp.gmail.com', :port => '587', :enable_starttls_auto => true, :user_name => 'id_gmail', :password => 'parola_gmail', :authentication => :plain, :domain => "HELO",

}, :subject => 'Test email', :body => 'Test for Pony email through gmail SMTP server.')

Schlermie
thank you!!!!!!
fenec