mailer
Advanced tools
Comparing version 0.6.3 to 0.6.4
/* Copyright (c) 2009-2010 Marak Squires, Elijah Insua, Fedor Indutny - http://github.com/marak/node_mailer | ||
Permission is hereby granted, free of charge, to any person | ||
@@ -11,6 +11,6 @@ obtaining a copy of this software and associated documentation | ||
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, | ||
@@ -110,3 +110,3 @@ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES | ||
// Use the cached template and send the email | ||
message.body = mustache.to_html(_templateCache[message.template].template, message.data); | ||
message.html = mustache.to_html(_templateCache[message.template].template, message.data); | ||
pool.send(new EmailMessage(merge(message,{ | ||
@@ -116,3 +116,2 @@ to: message.to, | ||
subject: message.subject, | ||
body: message.body, | ||
html: message.html, | ||
@@ -119,0 +118,0 @@ server: server, |
{ | ||
"name": "mailer", | ||
"description": "send emails from node.js to a smtp server, simple as cake", | ||
"version": "0.6.3", | ||
"version": "0.6.4", | ||
"author": "Marak Squires", | ||
@@ -6,0 +6,0 @@ "contributors" : [ |
@@ -1,2 +0,2 @@ | ||
#v0.6.3 | ||
#v0.6.4 | ||
<img src = "https://github.com/Marak/node_mailer/raw/master/logo.png"/><br/> | ||
@@ -3,0 +3,0 @@ ###send emails from node.js to your smtp server, simple as cake. |
Sorry, the diff of this file is not supported yet
37610
505