public
Description: A ruby gem to enable TLS for Net::SMTP
Homepage:
Clone URL: git://github.com/ambethia/smtp-tls.git
name age message
file .gitignore Thu Sep 17 19:09:57 -0700 2009 Fix README [ambethia]
file README.rdoc Thu Sep 17 19:09:57 -0700 2009 Fix README [ambethia]
file Rakefile Thu Sep 17 19:09:57 -0700 2009 Fix README [ambethia]
file VERSION.yml Thu Apr 02 10:15:40 -0700 2009 Version bump to 1.1.2 [ambethia]
directory lib/ Thu Apr 02 10:15:40 -0700 2009 Version bump to 1.1.2 [ambethia]
file smtp-tls.gemspec Thu Apr 02 11:26:27 -0700 2009 Huh? [ambethia]
README.rdoc

SMTP-TLS

I didn’t author this, so I can’t make any claims about it’s worth, licensing, or anything else. It’s just a gem package for some code that’s been floating around for a few years. Check google, or the following for more information:

Ruby on Rails

If you’re using Ruby on Rails >= 2.2 and Ruby v1.8.7 or greater, you don't need this. Just set enable_starttls_auto in your ActionMailer config:

  ActionMailer::Base.smtp_settings = {
    :enable_starttls_auto => true,
    :address => 'smtp.gmail.com',
    :port => 587,
    :domain => 'example.com',
    :authentication => :plain,
    :user_name => 'user',
    :password => 'secret'
  }

Dependencies

  • Net::SMTP
  • OpenSSL

Usage

  require 'smtp-tls'

Then get back to business as usual.