Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

transacemail-sendgrid

FGRibreau90.2.0

Transactional Email & Templated Email for NodeJS

email, mail, transactional, sendgrid, transacemail

readme

Sendgrid MailProvider for node-transacemail

Build Status Deps NPM version Downloads extra

Usage

var Mailing = require('transacemail');

var mails = Mailing
              .compile('/path/to/mails')
              .setMailProvider(require('transacemail-sendgrid')('apikey'));

// OR
var Mandrill = require('transacemail-sendgrid');

var mails = Mailing
              .compile('/path/to/mails')
              .setMailProvider(Mandrill('apikey', {
                subject: "node-transacemail-sendgrid",
                from: "sendgrid@transacemail.com",
                fromname: "Francois-Guillaume Ribreau"
              }));

I maintain this project in my free time, if it helped you please support my work via paypal or bitcoins, thanks a lot!