Skip to content
This repository has been archived by the owner on Jan 25, 2024. It is now read-only.

Latest commit

 

History

History
52 lines (34 loc) · 2.02 KB

File metadata and controls

52 lines (34 loc) · 2.02 KB

Github action workflow status Coverage Status CodeFactor GitHub Release Known Vulnerabilities MIT Licence

Sendinblue V2/3 transport module for Nodemailer

⚠️ This repository has been archived since Sendinblue is now Brevo, and Marcel is back on track.

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

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

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