Skip to content
Browse files

Fix for Outloook `wrong_version_number` error.

See #659.
  • Loading branch information...
1 parent 74f12de commit 2a524126fe88996288c527cbd8ecb3af2844f154 @alexpearce alexpearce committed
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/mail/network/delivery_methods/smtp.rb
View
1 lib/mail/network/delivery_methods/smtp.rb
@@ -133,6 +133,7 @@ def ssl_context
end
context = Net::SMTP.default_ssl_context
+ context.ssl_version = :SSLv3
context.verify_mode = openssl_verify_mode
context.ca_path = settings[:ca_path] if settings[:ca_path]
context.ca_file = settings[:ca_file] if settings[:ca_file]

0 comments on commit 2a52412

Please sign in to comment.
Something went wrong with that request. Please try again.