Forum: Ruby on Rails Changes to ActiveMailer?

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
7ce426fb7115fd6ef8e9aa2c353e0617?d=identicon&s=25 David Franklin (novus)
on 2009-04-02 15:31
(Received via mailing list)
I recently updated Rails on my development server.  All went well.
But I just noticed that my contact page now generates the following
error when a contact is submitted.

Net::SMTPAuthenticationError (530 5.7.0 Must issue a STARTTLS command
first. 6sm1162914qwd.18)

If I revert back to Rails 2.2.2 - no problem.

Does anyone have any idea what changed to ActiveMailer may be
producing this error?

Thanks
7ce426fb7115fd6ef8e9aa2c353e0617?d=identicon&s=25 David Franklin (novus)
on 2009-04-02 20:15
(Received via mailing list)
I found this in the changelog for ActiveMailer:

"Turn on STARTTLS if it is available in Net::SMTP (added in Ruby
1.8.7) and the SMTP server supports it (This is required for Gmail‘s
SMTP server) 1336 [Grant Hollingworth] "

Oddly enough I'm using gmail and it works with Rails 2.2.2!  This
change was made to enable gmail and in my case it seems to have broken
gmail.  I can't find any documentation on how STARTTLS must be
accounted for in the config.

Any help will be greatly appreciated.
7ce426fb7115fd6ef8e9aa2c353e0617?d=identicon&s=25 David Franklin (novus)
on 2009-04-02 21:12
(Received via mailing list)
Need to install smtp-tls as a result of the change.
3131fcea0a711e5ad89c8d49cc9253b4?d=identicon&s=25 Julian Leviston (Guest)
on 2009-04-03 04:20
(Received via mailing list)
Looks like your auth method!

Blog: http://random8.zenunit.com/
Learn rails: http://sensei.zenunit.com/
This topic is locked and can not be replied to.