This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
commit 6d4ffb77e91e0d317b93232d7d852cd53ef0f181
tree a75a5681eefa12cda669d867fc1365928f02c9f1
parent e7f14c7080e227a17ff8ef7e8db82a3e0835bcdb
tree a75a5681eefa12cda669d867fc1365928f02c9f1
parent e7f14c7080e227a17ff8ef7e8db82a3e0835bcdb
| name | age | message | |
|---|---|---|---|
| |
.cvsignore | ||
| |
.gitignore | ||
| |
CHANGES | ||
| |
README | ||
| |
Rakefile | ||
| |
init.rb | ||
| |
lib/ | ||
| |
tls-support.gemspec |
README
== tls-support = where does it come from ? We did not write this code. We just gem-ified it! We could not find out who's the original author of this piece of code. Looks like everyone copied from everyone, pasted some code here and there and so on. Here are some places where you can find this code (or similar) * http://www.ruby-forum.com/topic/160724 * http://brunomiranda.com/past/2007/11/5/in_need_of_an_smtp/ * http://groups.google.co.jp/group/rubyonrails-talk/browse_thread/thread/ab5b79feea255f5b * http://pastie.org/pastes/255293/edit If you are the original author, please contact us so we can add proper credits (or remove the gem or ...) = what is it TLS Support for Ruby. We use it to connect to GMail from ActionMailer. = Installation sudo gem update --system (in case you are not yet on version 1.2.0 or higher) sudo gem sources -a http://gems.github.com (only once) sudo gem install simplificator-tls-support = Usage # require the libs just require the gem # Sample ActionMailer Config DEFAULT_FROM_ADDRESS = 'Simplificator Notifier <notifier@simplificator.com>' config.action_mailer.raise_delivery_errors = true config.action_mailer.perform_deliveries = true config.action_mailer.delivery_method = :smtp ActionMailer::Base.smtp_settings = { :address => 'smtp.gmail.com', :port => 587, :authentication => :plain, :user_name => 'notifier@simplificator.com', :password => 'XYZXYZXYZ' } # You can use these settings to create URLS with the rails helpers in your mails ActionMailer::Base.default_url_options[:host] = 'localhost' ActionMailer::Base.default_url_options[:port] = '3000'








