Skip to content

Commit

Permalink
Fix for Outloook wrong_version_number error.
Browse files Browse the repository at this point in the history
See #659.
  • Loading branch information
alexpearce committed Feb 16, 2014
1 parent 74f12de commit 2a52412
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/mail/network/delivery_methods/smtp.rb
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ def ssl_context
end end


context = Net::SMTP.default_ssl_context context = Net::SMTP.default_ssl_context
context.ssl_version = :SSLv3
context.verify_mode = openssl_verify_mode context.verify_mode = openssl_verify_mode
context.ca_path = settings[:ca_path] if settings[:ca_path] context.ca_path = settings[:ca_path] if settings[:ca_path]
context.ca_file = settings[:ca_file] if settings[:ca_file] context.ca_file = settings[:ca_file] if settings[:ca_file]
Expand Down

0 comments on commit 2a52412

Please sign in to comment.