mailjet3
v0.9.1
Published
Fork of node-mailjet that supports API v3
Downloads
3
Readme
mailjet3.js
Fork of node-mailjet that supports API v3.
Installation
npm install mailjet3
Usage
Load the mailjet
module with:
var Mailjet = require('mailjet3')
Initialize mailjet with your API keys:
var mj = new Mailjet('API_KEY', 'API_SECRET')
You can then make requests like this :
mj.request(APIMethod, type, params, successCb, errorCb)
There is a short-hand method for sending transactional emails:
mj.send(params, successCb, errorCb)
License
mailjet.js is licensed under the MIT License. See LICENSE.