Comparing version 0.1.4 to 0.1.5
{ | ||
"name": "emailjs", | ||
"description": "send emails, html and attachments from node.js to any smtp server", | ||
"version": "0.1.4", | ||
"version": "0.1.5", | ||
"author": "eleith", | ||
@@ -14,4 +14,4 @@ "contributors" : [ | ||
}, | ||
"engine": [ "node >=0.3.8" ], | ||
"engine": [ "node >= 0.3.8" ], | ||
"main": "email" | ||
} |
@@ -161,4 +161,4 @@ var stream = require('stream'); | ||
data = data.concat(["--", boundary, CRLF]); | ||
data = data.concat(["Content-Type:text/html", CRLF, "Content-Transfer-Encoding: quoted-printable", CRLF, "Content-Disposition: inline", CRLF, CRLF]); | ||
data = data.concat([self.message.html, CRLF, CRLF]); | ||
data = data.concat(["Content-Type:text/html", CRLF, "Content-Transfer-Encoding: base64", CRLF, "Content-Disposition: inline", CRLF, CRLF]); | ||
data = data.concat([(new Buffer(self.message.html)).toString("base64"), CRLF, CRLF]); | ||
@@ -165,0 +165,0 @@ data = data.concat(["--", boundary, "--", CRLF, CRLF]); |
42305