Is there any way to use gmail as a smtp server on rails 2.3.5
/ruby 1.9.1
?
My smtp settings for actionmailer
are
options = {
:address => "smtp.gmail.com",
:port => 587,
:domain => 'REMOVED',
:user_name => 'REMOVED',
:password => 'REMOVED',
:authentication => 'plain',
:enable_starttls_auto => true }
and these result in the error
Net::SMTPAuthenticationError: 530 5.7.0 Must issue a STARTTLS command first.