0.9.1 • Published 9 years ago

mailjet3 v0.9.1

Weekly downloads
14
License
-
Repository
github
Last release
9 years ago

mailjet3.js

Tip NPM Dependency Status

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.

0.9.1

9 years ago

0.9.0

10 years ago