nodemailer-brevo-transport
TypeScript icon, indicating that this package has built-in type declarations

2.1.0 • Public • Published

Brevo Transport Module for Nodemailer

This module applies for Nodemailer v6+ and provides a transport for Brevo v3.

Usage

Install with npm

npm install nodemailer-brevo-transport

Require the module

const nodemailer = require("nodemailer");
const Transport = require("nodemailer-brevo-transport");

Create a Nodemailer transporter

const transporter = nodemailer.createTransport(
    new Transport({ apiKey: "my-api-key" })
);

Inline Images

Embedding inline images requires the image to be hosted and available via an absolute URL. The image URL and size properties can be injected into the HTML content through parameters. Take a look at test/manual/send-inline-image.js for an example.

License

MIT

Dependencies (0)

    Dev Dependencies (8)

    Package Sidebar

    Install

    npm i nodemailer-brevo-transport

    Weekly Downloads

    788

    Version

    2.1.0

    License

    MIT

    Unpacked Size

    24.1 kB

    Total Files

    15

    Last publish

    Collaborators

    • gotsml