transacemail-sendgrid

0.2.0 • Public • Published

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"
              }));

Donate

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

Package Sidebar

Install

npm i transacemail-sendgrid

Weekly Downloads

1

Version

0.2.0

License

none

Last publish

Collaborators

  • fgribreau