smtp-connection
Advanced tools
Comparing version 2.2.2 to 2.2.3
# Changelog | ||
## v2.2.3 2016-02-11 | ||
* Fixed error code for STARTTLS errors | ||
## v2.2.2 2016-02-09 | ||
@@ -4,0 +8,0 @@ |
@@ -474,3 +474,3 @@ 'use strict'; | ||
if ([this._actionGreeting, this.close].indexOf(this._currentAction) < 0 && !this._destroyed) { | ||
return this._onError(new Error('Connection closed unexpectedly')); | ||
return this._onError(new Error('Connection closed unexpectedly'), 'ECONNECTION'); | ||
} | ||
@@ -803,3 +803,3 @@ | ||
if (str.charAt(0) !== '2') { | ||
this._onError(new Error('Error upgrading connection with STARTTLS', 'ETLS', str)); | ||
this._onError(new Error('Error upgrading connection with STARTTLS'), 'ETLS', str); | ||
return; | ||
@@ -806,0 +806,0 @@ } |
{ | ||
"name": "smtp-connection", | ||
"version": "2.2.2", | ||
"version": "2.2.3", | ||
"description": "Connect to SMTP servers", | ||
@@ -5,0 +5,0 @@ "main": "lib/smtp-connection.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
50009