refactor: refactor the SMTP sender

This commit is contained in:
Adam Cooke
2024-03-01 09:54:22 +00:00
parent be0df7b463
commit 633c509a45
11 changed files with 1291 additions and 256 deletions
+1
View File
@@ -21,6 +21,7 @@ ActiveSupport::Inflector.inflections(:en) do |inflect|
inflect.acronym "API"
inflect.acronym "DNS"
inflect.acronym "SSL"
inflect.acronym "MySQL"
inflect.acronym "DB"
+2
View File
@@ -6,6 +6,8 @@ module Net
attr_accessor :source_address
def secure_socket?
return false unless @socket
@socket.io.is_a?(OpenSSL::SSL::SSLSocket)
end