Simple Mandrill plugin for Strapi 4
Simple Mandrill plugin for Strapi 4
npm install strapi-provider-plugin-mandrill
or
yarn add strapi-provider-plugin-mandrill
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 on config/pluggin.ts file the configuration bellow
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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',
},
},
}
npm install strapi-provider-plugin-mandrill
Check out the available plugin resources that will help you to develop your plugin or provider and get it listed on the marketplace.