transacemail-smtp
v0.2.4
Published
Transactional Email & Templated Email for NodeJS
Downloads
3
Readme
SMTP MailProvider for node-transacemail
Usage
var Mailing = require('transacemail');
var mails = Mailing
.compile('/path/to/mails')
.setMailProvider(require('transacemail-smtp')(smtpOptions)); // see smtp options at https://github.com/nodemailer/nodemailer#set-up-smtp
// OR
var SMTP = require('transacemail-smtp');
var mails = Mailing
.compile('/path/to/mails')
.setMailProvider(SMTP(smtpOptions, { // see smtp options at https://github.com/nodemailer/nodemailer#set-up-smtp
subject: "node-transacemail-smtp",
from: "[email protected]",
fromname: "Francois-Guillaume Ribreau"
}));
Donate
I maintain this project in my free time, if it helped you please support my work via paypal or bitcoins, thanks a lot!