From: Alex Baranosky Date: 2010-09-27T04:03:46+09:00 Subject: Re: SMTP with Gmail in 1.9.2 I've been digging around in the source code. I found I need to call smtp.enable_starttls to get the starttls enabled. Here's my now working code from above: def send_email_via_smtp(message, destination_email) smtp = Net::SMTP.new('smtp.gmail.com', 587) smtp.enable_starttls smtp.start('localhost.localdomain', USERNAME, PASSWORD, 'plain') do |connection| connection.send_message(message, EMAIL_ADDR_THAT_SENDS_EM, destination_email) end end -- Posted via http://www.ruby-forum.com/.