Mandrill logo

Mandrill

By Gustavo Oshiro

Simple Mandrill plugin for Strapi 4

Latest version

v1.0.3

released December 15, 2022

npm install strapi-provider-plugin-mandrill

Strapi Mandrill plugin

Simple Mandrill plugin for Strapi 4

Installation

npm install strapi-provider-plugin-mandrill

or

yarn add strapi-provider-plugin-mandrill

Dependencies

We are using @mailchimp/mailchimp_transactional package.

So for all send message we'll use this post: https://mailchimp.com/developer/transactional/api/messages/

Add Pluggin

Add on config/pluggin.ts file the configuration bellow

  email: {
    config: {
      provider: "strapi-provider-plugin-mandrill",
      providerOptions: {
        apiKey: process.env.MANDRILL_API_KEY,
      },
     settings: {
        defaultFrom: "contact@email.com",
        defaultName: 'Test',
        defaultReplyTo: 'test@email.com',
        defaultHtml: 'Test',
        defaultText: 'Test',
      },
    },
  }

Submit your content

Share your work with the community and get it listed in the Strapi ecosystem for everyone to discover and use.

Submit
Submit your content