Permalink
Browse files

Added attachment support based off of nodemailer's attachment support

  • Loading branch information...
chapel committed Jul 25, 2011
1 parent c3578d1 commit 601409465de90a11b7bc34a4d774a02edaf85a58
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 6014094

Please sign in to comment.