nodemailer-ses-transport
Advanced tools
Comparing version 1.4.0 to 1.5.0
@@ -148,2 +148,5 @@ 'use strict'; | ||
} | ||
if (mail.data.Destinations) { | ||
params.Destinations = mail.data.Destinations; | ||
} | ||
this.currentConnections++; | ||
@@ -173,3 +176,3 @@ this.ses.sendRawEmail(params, function (err, data) { | ||
envelope: mail.data.envelope || mail.message.getEnvelope(), | ||
messageId: data && data.MessageId && data.MessageId + '@email.amazonses.com' | ||
messageId: data && data.MessageId && data.MessageId + '@' + this.options.region + '.amazonses.com' | ||
}); | ||
@@ -176,0 +179,0 @@ }; |
{ | ||
"name": "nodemailer-ses-transport", | ||
"version": "1.4.0", | ||
"version": "1.5.0", | ||
"description": "SES transport for Nodemailer", | ||
@@ -24,3 +24,3 @@ "main": "lib/ses-transport.js", | ||
"dependencies": { | ||
"aws-sdk": "^2.4.2" | ||
"aws-sdk": "^2.6.12" | ||
}, | ||
@@ -31,7 +31,7 @@ "devDependencies": { | ||
"grunt-cli": "^1.2.0", | ||
"grunt-eslint": "~18.1.0", | ||
"grunt-mocha-test": "~0.12.7", | ||
"mocha": "^2.5.3", | ||
"sinon": "^1.17.4" | ||
"grunt-eslint": "~19.0.0", | ||
"grunt-mocha-test": "~0.13.2", | ||
"mocha": "^3.1.2", | ||
"sinon": "^1.17.6" | ||
} | ||
} |
@@ -39,2 +39,3 @@ # SES transport module for Nodemailer | ||
* **maxConnections** - *optional* Specify the maximum number of messages to be "in-flight" at any one point in time. Useful for preventing suffocation of an internet connection when sending lots of messages. | ||
* **Destinations** - *optional* Specify envelope info | ||
@@ -41,0 +42,0 @@ ### Examples |
14014
273
65
Updatedaws-sdk@^2.6.12