UNPKG

strapi-plugin-email-brevo

Version:

Strapi v5 plugin to send emails via Brevo (Sendinblue) HTTP API

77 lines (54 loc) 1.7 kB
# strapi-plugin-email-brevo > A custom email provider plugin for **Strapi v5**, allowing you to send emails via **Brevo (formerly Sendinblue)** using HTTP API. Fully compatible with the Email Plugin UI and Test Email feature in Strapi Admin. --- ## ✨ Features - Works with **Strapi v5** - Sends transactional emails via **Brevo HTTP API** - Fully compatible with Strapi's **Email plugin interface** - Supports **Test Email** from Strapi Admin Panel - Easy to configure via `.env` variables --- ## 📦 Installation ```bash npm install strapi-plugin-email-brevo ``` --- ## ⚙️ Configuration In your Strapi project, create or update the file `config/plugins.js`: ```js export default ({ env }) => ({ email: { config: { provider: "strapi-plugin-email-brevo", providerOptions: { apiKey: env("BREVO_API_KEY"), }, settings: { defaultSenderName: env("BREVO_SENDER_NAME"), defaultSenderEmail: env("BREVO_SENDER_EMAIL"), defaultReplyTo: env("BREVO_REPLY_TO_EMAIL"), defaultFrom: env("BREVO_FROM_EMAIL"), }, }, }, }); ``` --- ## 📁 .env Example Add the following entries to your `.env` file: ```env BREVO_API_KEY=your_brevo_api_key_here BREVO_SENDER_NAME=4Brains Technologies Pvt Ltd BREVO_SENDER_EMAIL=info@4brains.in BREVO_REPLY_TO_EMAIL=info@4brains.in BREVO_FROM_EMAIL=info@4brains.in ``` > You can get your API key from [https://app.brevo.com/](https://app.brevo.com/) --- ## 👨‍💻 Developed by **[4Brains Technologies Pvt Ltd](https://4brains.tech)** 🚀 _Where Innovation Meets Precision_ 📫 [info@4brains.in](mailto:info@4brains.in) --- ## 📄 License MIT