1.0.3 • Published 2 years ago

@mirrorprod/strapi-email-provider-ep v1.0.3

Weekly downloads
-
License
MIT
Repository
gitlab
Last release
2 years ago

Strapi email provider for Electric Pigeon

Custom strapi email provider to use mirror mail service

Links

Installation

# using yarn
yarn add @mirrorprod/strapi-email-provider-ep

# using npm
npm install @mirrorprod/strapi-email-provider-ep --save

Configuration

VariableTypeDescriptionRequiredDefault
providerstringThe name of the provider you useyes
providerOptionsobjectProvider optionsyes
providerOptions.apiKeyobjectApi key given to the function setApiKey.yes
settingsobjectSettingsno{}
settings.defaultFromstringDefault sender mail addressnoundefined

:warning: The Shipper Email (or defaultfrom) may also need to be changed in the Email Templates tab on the admin panel for emails to send properly

Example

Path - config/plugins.js

module.exports = ({ env }) => ({
  // ...
  email: {
    config: {
      provider: '@mirrorprod/strapi-email-provider-ep',
      providerOptions: {
        apiKey: env('MAIL_API_KEY'), // you have to add this in your .env file
      },
      settings: {
        defaultFrom: 'mailer@mirror.it'
      },
    },
  },
  // ...
});
1.0.3

2 years ago

1.0.1

3 years ago

1.0.0

3 years ago