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.

Dependencies (1)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i mailjet3

    Weekly Downloads

    2

    Version

    0.9.1

    License

    none

    Last publish

    Collaborators

    • egoalesum