smtp-connection
Advanced tools
Comparing version 0.1.6 to 0.1.7
{ | ||
"name": "smtp-connection", | ||
"version": "0.1.6", | ||
"version": "0.1.7", | ||
"description": "Connect to SMTP servers", | ||
@@ -5,0 +5,0 @@ "main": "src/smtp-connection.js", |
@@ -19,3 +19,3 @@ 'use strict'; | ||
* | ||
* * **secureConnection** - use SSL | ||
* * **secure** - use SSL | ||
* * **name** - the name of the client server | ||
@@ -41,5 +41,5 @@ * * **auth** - authentication object {user:'...', pass:'...'} | ||
this.options.port = this.options.port || (this.options.secureConnection ? 465 : 25); | ||
this.options.port = this.options.port || (this.options.secure ? 465 : 25); | ||
this.options.host = this.options.host || 'localhost'; | ||
this.options.secureConnection = !!this.options.secureConnection; | ||
this.options.secure = !!this.options.secure; | ||
@@ -121,3 +121,3 @@ this.options.name = this.options.name || this._getHostname(); | ||
if (this.options.secureConnection) { | ||
if (this.options.secure) { | ||
this._secureMode = true; | ||
@@ -146,3 +146,3 @@ } | ||
if (this.options.secureConnection) { | ||
if (this.options.secure) { | ||
if (this.options.tls) { | ||
@@ -149,0 +149,0 @@ Object.keys(this.options.tls).forEach((function(key) { |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
2
38281