Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

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.6 to 0.1.7

2

package.json
{
"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) {

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