nodemailer
Advanced tools
Comparing version 4.6.6 to 4.6.7
# CHANGELOG | ||
## 4.6.7 2018-06-15 | ||
* Added option `skipEncoding` to JSONTransport | ||
## 4.6.6 2018-06-10 | ||
@@ -4,0 +8,0 @@ |
@@ -7,12 +7,6 @@ 'use strict'; | ||
/** | ||
* Generates a Transport object for Sendmail | ||
* Generates a Transport object to generate JSON output | ||
* | ||
* Possible options can be the following: | ||
* | ||
* * **path** optional path to sendmail binary | ||
* * **newline** either 'windows' or 'unix' | ||
* * **args** an array of arguments for the sendmail binary | ||
* | ||
* @constructor | ||
* @param {Object} optional config parameter for the AWS Sendmail service | ||
* @param {Object} optional config parameter | ||
*/ | ||
@@ -82,3 +76,3 @@ class JSONTransport { | ||
messageId, | ||
message: JSON.stringify(data) | ||
message: this.options.skipEncoding ? data : JSON.stringify(data) | ||
}); | ||
@@ -85,0 +79,0 @@ }); |
@@ -126,2 +126,4 @@ 'use strict'; | ||
} | ||
return this; | ||
} | ||
@@ -128,0 +130,0 @@ |
@@ -19,3 +19,3 @@ 'use strict'; | ||
*/ | ||
class SendmailTransport { | ||
class StreamTransport { | ||
constructor(options) { | ||
@@ -143,2 +143,2 @@ options = options || {}; | ||
module.exports = SendmailTransport; | ||
module.exports = StreamTransport; |
{ | ||
"name": "nodemailer", | ||
"version": "4.6.6", | ||
"version": "4.6.7", | ||
"description": "Easy as cake e-mail sending from your Node.js applications", | ||
@@ -5,0 +5,0 @@ "main": "lib/nodemailer.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
444181
10893