Socket
Socket
Sign inDemoInstall

smtp-connection

Package Overview
Dependencies
Maintainers
1
Versions
60
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

smtp-connection - npm Package Compare versions

Comparing version 0.1.3 to 0.1.4

7

lib/smtp-connection.js

@@ -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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc