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 (
Run the following if you haven't already:
gem sources -a http://gems.github.com
Install the gem(s):
sudo gem install simplificator-tls-support
| name | age | message | |
|---|---|---|---|
| |
.cvsignore | ||
| |
.gitignore | ||
| |
CHANGES | ||
| |
README | ||
| |
Rakefile | ||
| |
init.rb | ||
| |
lib/ | Wed Sep 17 08:38:16 -0700 2008 | |
| |
tls-support.gemspec |
== 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'












