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 2.12.1 to 2.12.2

4

lib/smtp-connection.js

@@ -658,3 +658,3 @@ 'use strict';

if (this.options.debug) {
if (this.options.debug || this.options.transactionLog) {
this.logger.debug('[%s] S: %s', this.id, str.replace(/\r?\n$/, ''));

@@ -692,3 +692,3 @@ }

if (this.options.debug) {
if (this.options.debug || this.options.transactionLog) {
this.logger.debug('[%s] C: %s', this.id, (str || '').toString().replace(/\r?\n$/, ''));

@@ -695,0 +695,0 @@ }

{
"name": "smtp-connection",
"version": "2.12.1",
"version": "2.12.2",
"description": "Connect to SMTP servers",

@@ -5,0 +5,0 @@ "main": "lib/smtp-connection.js",

@@ -52,2 +52,3 @@ # smtp-connection

- **options.debug** if set to true, then logs SMTP traffic, otherwise logs only transaction events
- **options.transactionLog** if set to true, then logs SMTP traffic without message content
- **options.authMethod** defines preferred authentication method, e.g. 'PLAIN'

@@ -54,0 +55,0 @@ - **options.tls** defines additional options to be passed to the socket constructor, e.g. _{rejectUnauthorized: true}_

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