Skip to content

adeherysh/strapi-provider-email-mandrill

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

strapi-provider-email-mandrill

Mandrill email provider for Strapi

Installation

# 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

Configuration

For javascript

// 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'),
      },
    },
  },
  // ...
});

For typescript

// 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'),
      },
    },
  },
  // ...
});

References

About

Mandrill email provider for Strapi

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published