1.1.4 • Published 3 years ago
strapi-provider-email-mcmandrill v1.1.4
strapi-provider-email-mcmandrill
Installation
# using yarn
yarn add strapi-provider-email-mcmandrill
# using npm
npm install strapi-provider-email-mcmandrill --save
Configuration
Variable | Type | Description | Required | Default |
---|---|---|---|---|
mandrill_default_from_email | string | Mandrill Default From Email | yes | |
mandrill_default_from_name | string | Mandrill Default From Name | yes | |
mandrill_default_replyto | string | Mandrill Default Reply-To | yes | |
mandrill_api_key | string | Mandrill API Key | yes | |
mandrill_default_template | string | Your template slug name | no | null |
mandrill_subaccount | string | To send email from a specific subaccount | no |
Example
Path - config/plugins.js
module.exports = ({ env }) => ({
// ...
email: {
provider: 'mcmandrill',
providerOptions: {
mandrill_api_key: 'your mandrill api key',
mandrill_default_from_name: 'My name',
mandrill_default_from_email: 'from@domain.com',
mandrill_subaccount: 'your subaccount name',
},
},
// ...
})