smtp-connection
Advanced tools
Comparing version 1.3.1 to 1.3.2
# Changelog | ||
## v1.3.0 2015-03-09 | ||
## v1.3.2 2015-12-16 | ||
* Added missing 'close' and 'end' event handlers for a STARTTLS-upgraded socket | ||
## v1.3.1 2015-06-30 | ||
* Added partial support for LMTP protocol. Works only with single recipient (does not support multiple responses for DATA command) | ||
@@ -6,0 +10,0 @@ |
{ | ||
"name": "smtp-connection", | ||
"version": "1.3.1", | ||
"version": "1.3.2", | ||
"description": "Connect to SMTP servers", | ||
@@ -26,11 +26,11 @@ "main": "src/smtp-connection.js", | ||
"devDependencies": { | ||
"chai": "^3.0.0", | ||
"chai": "^3.4.1", | ||
"grunt": "^0.4.5", | ||
"grunt-contrib-jshint": "^0.11.2", | ||
"grunt-contrib-jshint": "^0.11.3", | ||
"grunt-mocha-test": "^0.12.7", | ||
"mocha": "^2.2.5", | ||
"smtp-server": "^1.4.0", | ||
"sinon": "^1.15.4", | ||
"xoauth2": "^1.0.0" | ||
"mocha": "^2.3.4", | ||
"smtp-server": "^1.7.1", | ||
"sinon": "^1.17.2", | ||
"xoauth2": "^1.1.0" | ||
} | ||
} | ||
} |
@@ -397,2 +397,3 @@ 'use strict'; | ||
err.response = response; | ||
err.message += ': ' + response; | ||
} | ||
@@ -477,3 +478,9 @@ | ||
}.bind(this)); | ||
this._socket.on('error', this._onError.bind(this)); | ||
this._socket.once('close', this._onClose.bind(this)); | ||
this._socket.once('end', this._onEnd.bind(this)); | ||
this._socket.setTimeout(this.options.socketTimeout || (10 * 60 * 1000)); // 10 min. | ||
this._socket.on('timeout', this._onTimeout.bind(this)); | ||
}; | ||
@@ -1006,2 +1013,2 @@ | ||
return defaultHostname; | ||
}; | ||
}; |
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
42822
974