smtp-connection
Advanced tools
Comparing version 2.12.1 to 2.12.2
@@ -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}_ |
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
67650
208