Mandrill email provider for Strapi
# using yarn
yarn add https://github.com/adeherysh/strapi-provider-email-mandrill
# using npm
npm install https://github.com/adeherysh/strapi-provider-email-mandrill --save
// path: ./config/plugins.js
module.exports = ({ env }) => ({
// ...
email: {
config: {
provider: 'strapi-provider-email-mandrill',
providerOptions: {
apiKey: env('MANDRILL_API_KEY'),
},
settings: {
defaultFrom: env('MANDRILL_EMAIL_FROM'),
defaultReplyTo: env('MANDRILL_EMAIL_REPLY_TO'),
},
},
},
// ...
});
// path: ./config/plugins.ts
export default ({ env }) => ({
// ...
email: {
config: {
provider: 'strapi-provider-email-mandrill',
providerOptions: {
apiKey: env('MANDRILL_API_KEY'),
},
settings: {
defaultFrom: env('MANDRILL_EMAIL_FROM'),
defaultReplyTo: env('MANDRILL_EMAIL_REPLY_TO'),
},
},
},
// ...
});