1
0
مراية لـ https://github.com/postalserver/postal.git تم المزامنة 2025-11-30 21:32:30 +00:00

fix: use correct method for disconnecting smtp connections

هذا الالتزام موجود في:
Adam Cooke
2024-02-13 15:57:59 +00:00
الأصل 42ab5b3a6b
التزام 7c23994d24

عرض الملف

@@ -83,7 +83,7 @@ module Postal
log "Cannot connect to #{@remote_ip}:#{port} (#{hostname}) (#{e.class}: #{e.message})" log "Cannot connect to #{@remote_ip}:#{port} (#{hostname}) (#{e.class}: #{e.message})"
@connection_errors << e.message unless @connection_errors.include?(e.message) @connection_errors << e.message unless @connection_errors.include?(e.message)
begin begin
smtp_client.disconnect smtp_client.finish
rescue StandardError rescue StandardError
nil nil
end end