ambethia / smtp-tls
- Source
- Commits
- Network (6)
- Issues (0)
- Downloads (2)
- Graphs
-
Tree:
6ad892c
commit 6ad892cabc477501489c93b78078f60045d3f8a4
tree 3204f32b0234db3032d819ec9a6a0185fc4ba64a
parent 7d62b44411d8e8d662a7df302ea10ade7ab3287c
tree 3204f32b0234db3032d819ec9a6a0185fc4ba64a
parent 7d62b44411d8e8d662a7df302ea10ade7ab3287c
smtp-tls /
| name | age | message | |
|---|---|---|---|
| |
.gitignore | ||
| |
README.rdoc | ||
| |
Rakefile | ||
| |
VERSION.yml | Thu Apr 02 10:15:40 -0700 2009 | |
| |
lib/ | Thu Apr 02 10:15:40 -0700 2009 | |
| |
smtp-tls.gemspec | Thu Apr 02 11:26:27 -0700 2009 |
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|URL:github.com/rails/rails/commit/732c724df61bc8b780dc42817625b25a321908e4>)). 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
<tt>require 'smtp-tls'</tt>
Then get back to business as usual.

