1.0.2 • Published 1 year ago

strapi-provider-email-mailersend v1.0.2

Weekly downloads
-
License
SEE LICENSE IN LI...
Repository
github
Last release
1 year ago

strapi-provider-email-mailersend

Resources

Links

Installation

# using yarn
yarn add strapi-provider-email-mailersend

# using npm
npm install strapi-provider-email-mailersend --save

Configuration

VariableTypeDescriptionRequiredDefault
providerstringThe name of the provider you useyes
providerOptionsobjectProvider optionsyes
providerOptions.apiKeyobjectApi key given to the function setApiKey. Please refer to @sendgrid/mailyes
settingsobjectSettingsno{}
settings.defaultFromstringDefault sender mail addressnoundefined
settings.defaultReplyTostring | arrayDefault address or addresses the receiver is asked to reply tonoundefined

: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: 'mailersend',
      providerOptions: {
        apiKey: env('MAILERSEND_API_KEY'),
      },
      settings: {
        defaultFrom: 'myemail@protonmail.com',
        defaultReplyTo: 'myemail@protonmail.com',
      },
    },
  },
  // ...
});