Skip to content

Commit

Permalink
fix(tls-options): Retrieve ignoreTLS value from Sending Zone, or defa…
Browse files Browse the repository at this point in the history
…ult to false (#365)
  • Loading branch information
stephan-lima authored Jan 31, 2024
1 parent 5a81ce8 commit 336e835
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/sender.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 336e835

Please sign in to comment.