mailjet3

0.9.1 • Public • Published

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.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.9.1
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.9.1
    1
  • 0.9.0
    1

Package Sidebar

Install

npm i mailjet3

Weekly Downloads

2

Version

0.9.1

License

none

Last publish

Collaborators

  • egoalesum