Comparing version 1.0.1 to 1.0.2
{ | ||
"name": "emailjs", | ||
"description": "send text/html emails and attachments (files, streams and strings) from node.js to any smtp server", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"author": "eleith", | ||
@@ -6,0 +6,0 @@ "contributors": [ |
@@ -498,4 +498,4 @@ var stream = require('stream'); | ||
{ | ||
// do not output BCC in the headers... | ||
if(!(/bcc/i.test(header))) | ||
// do not output BCC in the headers (regex) nor custom Object.prototype functions... | ||
if(!(/bcc/i.test(header)) && self.message.header.hasOwnProperty (header)) | ||
data = data.concat([fix_header_name_case(header), ": ", self.message.header[header], CRLF]); | ||
@@ -502,0 +502,0 @@ } |
@@ -13,2 +13,6 @@ var SMTPError = require('./error'); | ||
var line = buffer.replace("\r", ''); | ||
if(!line.trim().split(/\n/).pop().match(/^(\d{3})\s/)) | ||
return; | ||
var match = line ? line.match(/(\d+)\s?(.*)/) : null; | ||
@@ -15,0 +19,0 @@ |
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
1252
49309
8