Skip to content

Commit

Permalink
fix: fix issue with determining if an SMTP connection is encrypted or…
Browse files Browse the repository at this point in the history
… not (#1338)
  • Loading branch information
Jimver authored Jul 27, 2021
1 parent eef1a36 commit 73870d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/initializers/smtp_extensions.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ class Net::SMTP
attr_accessor :source_address

def secure_socket?
@socket.is_a?(OpenSSL::SSL::SSLSocket)
@socket.io.is_a?(OpenSSL::SSL::SSLSocket)
end

#
Expand Down

0 comments on commit 73870d6

Please sign in to comment.