steve-lebleu / nodemailer-sendinblue-v3-transport

Nodemailer transporter for Sendinblue V2/3 API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Nodemailer transporter for Sendinblue V2/3 API

License:MIT License


Languages

Language:JavaScript 100.0%