@maddog986/strapi-provider-email-mandrill

1.0.0 • Public • Published

strapi-provider-email-mandrill

Resources

Links

Prerequisites

You need to have the plugin strapi-plugin-email installed in you Strapi project.

Installation

# using yarn
yarn add @maddog986/strapi-provider-email-mandrill

# using npm
npm install @maddog986/strapi-provider-email-mandrill --save

Configuration

Variable Type Description Required Default
provider string The name of the provider you use yes
providerOptions object Provider options yes
providerOptions.apiKey object Api key from Mandrill. yes
providerOptions.apiUsername object Api username from Mandrill. yes
settings object Settings no {}
settings.defaultFrom string Default sender mail address no undefined
settings.defaultReplyTo string | array Default address or addresses the receiver is asked to reply to no undefined

Example

Path - config/plugins.js

module.exports = ({ env }) => ({
  // ...
  email: {
    provider: 'hyak',
    providerOptions: {
      apiKey: env('MANDRILL_KEY', ''),
      apiUsername: env('MANDRILL_USERNAME', '')
    },
    settings: {
      defaultFrom: env('EMAIL_FROM', ''),
      defaultReplyTo: env('EMAIL_REPLY', ''),
    }
  },
  // ...
});

Package Sidebar

Install

npm i @maddog986/strapi-provider-email-mandrill

Homepage

dpg.host

Weekly Downloads

1

Version

1.0.0

License

MIT

Unpacked Size

6.77 kB

Total Files

6

Last publish

Collaborators

  • maddog986