Launch Week Day 5: Introducing Reachability for PHP.Learn More
Socket
Book a DemoSign in
Socket

emailjs

Package Overview
Dependencies
Maintainers
1
Versions
75
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

emailjs - npm Package Compare versions

Comparing version
0.3.2
to
0.3.3
+10
-6
package.json
{
"name": "emailjs",
"description": "send text/html emails and attachments (files, streams and strings) from node.js to any smtp server",
"version": "0.3.2",
"version": "0.3.3",
"author": "eleith",
"contributors":["izuzak", "Hiverness", "mscdex"],
"contributors":["izuzak", "Hiverness", "mscdex", "jimmybergman"],
"repository":

@@ -12,2 +12,10 @@ {

},
"dependencies":
{
"moment" : ">= 1.7.0"
},
"optionalDependencies":
{
"bufferjs": "=1.1.0"
},
"devDependencies":

@@ -21,6 +29,2 @@ {

},
"optionalDependencies":
{
"bufferjs": "*"
},
"engine": ["node >= 0.6"],

@@ -27,0 +31,0 @@ "main": "email",

@@ -1,2 +0,2 @@

# emailjs (v0.3.2) [![Build Status](https://secure.travis-ci.org/eleith/emailjs.png)](http://travis-ci.org/eleith/emailjs)
# emailjs (v0.3.3) [![Build Status](https://secure.travis-ci.org/eleith/emailjs.png)](http://travis-ci.org/eleith/emailjs)

@@ -3,0 +3,0 @@ send emails, html and attachments (files, streams and strings) from node.js to any smtp server

@@ -6,2 +6,3 @@ var stream = require('stream');

var path = require('path');
var moment = require('moment');
var CRLF = "\r\n";

@@ -35,3 +36,7 @@ var MIMECHUNK = 76; // MIME standard wants 76 char chunks when sending out.

this.alternative = null;
this.header = {"message-id":"<" + (new Date()).getTime() + "." + (counter++) + "." + process.pid + "@" + os.hostname() +">"};
var now = new Date();
this.header = {
"message-id":"<" + now.getTime() + "." + (counter++) + "." + process.pid + "@" + os.hostname() +">",
"date":moment().format("ddd, DD MMM YYYY HH:mm:ss ZZ")
};
this.content = "text/plain; charset=utf-8";

@@ -38,0 +43,0 @@

Copyright (C) <2011> <leith / eleith.com>
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
of the Software, and to permit persons to whom the Software is furnished to do
so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.