This repository has been archived by the owner. It is now read-only.
Enables TLS on SMTP connections (for services like GMail)
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


= action_mailer_optional_tls
Allows Google Mail SMTP to be used with Ruby on Rails' ActionMailer.

== Install
  ./script/plugin install git://

== Configure

Add the following to your environment.rb file:

 ActionMailer::Base.smtp_settings = {
    :tls => true,
    :address => "",
    :port => "587",
    :domain => "YOURDOMAIN",
    :authentication => :plain,
    :user_name => "GOOGLEUSERNAME",
    :password => "GOOGLEPASSWORD" 

== Webified Documentation

== Credits

This useful plugin is hosted at as a public service, due to the continued downtime of

Douglas F Shearer is neither the creator nor maintainer of this work, so if it's broke, it's broke.

Created by Kyle Maxwell -

Forked and adjusted by Nathan L. Walls - to resolve the issue describe here: and satisfy differences between Ruby 1.8.6 and Ruby 1.8.7. Note: this is brittle, but solves a need.