From 336e8358be5992bd15392fc07064540fda4aa23d Mon Sep 17 00:00:00 2001 From: stephan-lima <51950761+stephan-lima@users.noreply.github.com> Date: Wed, 31 Jan 2024 17:48:36 +0200 Subject: [PATCH] fix(tls-options): Retrieve ignoreTLS value from Sending Zone, or default to false (#365) --- lib/sender.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/sender.js b/lib/sender.js index c5e56df..79e20d7 100644 --- a/lib/sender.js +++ b/lib/sender.js @@ -963,7 +963,7 @@ class Sender extends EventEmitter { let mxLastError = false; let ignoreMXHosts = []; - let ignoreTLS = false; + let ignoreTLS = !!this.zone.ignoreTLS || false; let tryConnect = () => { delivery.mxPort = delivery.mxPort || this.zone.port || 25;