nodemailer
Advanced tools
Comparing version 6.9.12 to 6.9.13
# CHANGELOG | ||
## [6.9.13](https://github.com/nodemailer/nodemailer/compare/v6.9.12...v6.9.13) (2024-03-20) | ||
### Bug Fixes | ||
* **tls:** Ensure servername for SMTP ([d66fdd3](https://github.com/nodemailer/nodemailer/commit/d66fdd3dccacc4bc79d697fe9009204cc8d4bde0)) | ||
## [6.9.12](https://github.com/nodemailer/nodemailer/compare/v6.9.11...v6.9.12) (2024-03-08) | ||
@@ -4,0 +11,0 @@ |
@@ -61,2 +61,4 @@ 'use strict'; | ||
this.servername = this.options.servername ? this.options.servername : !net.isIP(this.host) ? this.host : false; | ||
this.allowInternalNetworkInterfaces = this.options.allowInternalNetworkInterfaces || false; | ||
@@ -300,2 +302,8 @@ | ||
} | ||
// ensure servername for SNI | ||
if (this.servername && !opts.servername) { | ||
opts.servername = this.servername; | ||
} | ||
return shared.resolveHostname(opts, (err, resolved) => { | ||
@@ -909,2 +917,7 @@ if (err) { | ||
// ensure servername for SNI | ||
if (this.servername && !opts.servername) { | ||
opts.servername = this.servername; | ||
} | ||
this.upgrading = true; | ||
@@ -911,0 +924,0 @@ // tls.connect is not an asynchronous function however it may still throw errors and requires to be wrapped with try/catch |
{ | ||
"name": "nodemailer", | ||
"version": "6.9.12", | ||
"version": "6.9.13", | ||
"description": "Easy as cake e-mail sending from your Node.js applications", | ||
@@ -5,0 +5,0 @@ "main": "lib/nodemailer.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
503192
12102