@k-ziran/strapi-provider-email-brevo-k
TypeScript icon, indicating that this package has built-in type declarations

0.0.10 • Public • Published

Strapi email provider for Brevo

Note: This plugin should be considered experimental until 1.0.0 is released.

Why use this and not strapi-provider-email-brevo?

  • No external dependencies (uses node fetch)
  • Handle sender name and email in a more correct way
  • Send templated email using Brevo mail templates

Example configuration

module.exports = ({ env }) => ({
  // ...
  email: {
    config: {
      provider: '@k-ziran/strapi-provider-email-brevo-k',
      providerOptions: {
        apiKey: env('BREVO_API_KEY'),
      },
      settings: {
        defaultFromName: 'My Name',
        defaultFrom: 'myemail@brevo.com',
        defaultReplyToName: 'My Name',
        defaultReplyTo: 'myemail@brevo.com',
      },
    },
  },
  // ...
});

Readme

Keywords

Package Sidebar

Install

npm i @k-ziran/strapi-provider-email-brevo-k

Weekly Downloads

4

Version

0.0.10

License

MIT

Unpacked Size

11.5 kB

Total Files

5

Last publish

Collaborators

  • k-ziran