nodemailer-smtp-pool
Advanced tools
Comparing version 0.1.4 to 0.1.5
{ | ||
"name": "nodemailer-smtp-pool", | ||
"version": "0.1.4", | ||
"version": "0.1.5", | ||
"description": "SMTP transport for Nodemailer", | ||
@@ -5,0 +5,0 @@ "main": "src/smtp-pool.js", |
@@ -300,2 +300,3 @@ 'use strict'; | ||
this.connection.send(mail.data.envelope || mail.message.getEnvelope(), mail.message.createReadStream(), function(err, info) { | ||
var envelope; | ||
this.messages++; | ||
@@ -308,2 +309,7 @@ | ||
} else { | ||
envelope = mail.data.envelope || mail.message.getEnvelope(); | ||
info.envelope = { | ||
from: envelope.from, | ||
to: envelope.to | ||
}; | ||
info.messageId = (mail.message.getHeader('message-id') || '').replace(/[<>\s]/g, ''); | ||
@@ -310,0 +316,0 @@ callback(null, info); |
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
16239
306