1.0.1 • Published 2 years ago

nodemailer-sendinblue-v3-transport v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Build Coverage Status Requires.io (branch) Snyk Vulnerabilities for GitHub Repo

MIT Licence

Sendinblue V2/3 transport module for Nodemailer

This module applies for Nodemailer v2+ and provides a transport for Sendinblue.

Dirty and quickly forked from the amazing but not maintened job of my guy Marcel :sunglasses:.

Pull requests welcome.

Usage

Install with npm

$ npm i nodemailer-sendinblue-v3-transport

Require the module

const nodemailer = require('nodemailer');
const sendinBlue = require('nodemailer-sendinblue-v3-transport');

Create a Nodemailer transporter

V2

const transporter = nodemailer.createTransport(sendinBlue(options))

V3

const transporter = nodemailer.createTransport(sendinBlue({ ...options, ...{ apiUrl: 'https://api.sendinblue.com/v3/smtp' }}))

Available Options

License

MIT