Permalink
Browse files

Merge pull request #34 from chapel/patch-1

Added attachment support based off of nodemailer's attachment support. See NodeMailer for documentation on attachments.
  • Loading branch information...
2 parents c3578d1 + 6014094 commit 89a1ffb324f82188f4fdc65ef0642ee2037fab1c @bmeck bmeck committed Jul 25, 2011
Showing with 3 additions and 0 deletions.
  1. +3 −0 lib/node_mailer.js
View
@@ -113,6 +113,7 @@ exports.send = function node_mail(message, callback) {
sender: message.from,
subject: message.subject,
html: message.html,
+ attachments: message.attachments,
server: server,
debug: message.debug
})), callback);
@@ -147,6 +148,7 @@ exports.send = function node_mail(message, callback) {
sender: msg.from,
subject: msg.subject,
html: msg.html,
+ attachments: message.attachments,
server: server,
debug: msg.debug
})), callback);
@@ -165,6 +167,7 @@ exports.send = function node_mail(message, callback) {
subject: message.subject,
body: message.body,
html: message.html,
+ attachments: message.attachments,
server: server,
debug: message.debug
})), callback);

0 comments on commit 89a1ffb

Please sign in to comment.