Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

starttls for smtp makes gmail go

#1336

Gmail's SMTP server requires STARTTLS to be enabled. The action_mailer_tls plugin allows this by patching Net::SMTP. As of Ruby 1.8.7, Net::SMTP has this support built-in.

This patch calls Net::SMTP#enable_starttls_auto if available. When ActionMailer connects to an SMTP server that supports STARTTLS, it will use it.

Reported by Grant Hollingworth · November 6th, 2008 @ 04:18 AM

State: committed
Milestone: 2.x
Assigned to: nobody
Importance: none

Activity

  1. Repository
    Repository
    • State changed from new to committed

    (from [732c724df61bc8b780dc42817625b25a321908e4]) Turn on STARTTLS if it is available in Net::SMTP (added in Ruby 1.8.7) and the SMTP server supports it [#1336 starttls for smtp makes gmail go state:committed]

    Signed-off-by: David Heinemeier Hansson david@loudthinking.com http://github.com/rails/rails/co...

    November 6th, 2008 @ 12:09 PM