smtp-connection
Advanced tools
Comparing version 0.1.3 to 0.1.4
@@ -269,6 +269,7 @@ 'use strict'; | ||
} | ||
var stream = this._createSendStream(function(err) { | ||
var stream = this._createSendStream(function(err, response) { | ||
if (err) { | ||
return callback(err); | ||
} | ||
info.response = response; | ||
return callback(null, info); | ||
@@ -473,3 +474,3 @@ }); | ||
} else { | ||
return this._onError(new Error('Unexpected Response'), 'EPROTOCOL'); | ||
return this._onError(new Error('Unexpected Response'), 'EPROTOCOL', response); | ||
} | ||
@@ -930,3 +931,3 @@ }; | ||
// Message sent succesfully | ||
callback(null, true); | ||
callback(null, str); | ||
} | ||
@@ -933,0 +934,0 @@ }; |
{ | ||
"name": "smtp-connection", | ||
"version": "0.1.3", | ||
"version": "0.1.4", | ||
"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
36420
933