mirror of
https://github.com/postalserver/postal.git
synced 2026-10-19 10:46:32 +00:00
fix: fix issue with determining if an SMTP connection is encrypted or not (#1338)
This commit is contained in:
@@ -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
|
||||
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user