/ piacw.com / dev / pias-backend-2 / node_modules / strapi-provider-email-sendmail /

[ICO]NameLast modifiedSizeDescription
[PARENTDIR]Parent Directory  -  
[DIR]lib/2 years ago -  
[   ]LICENSE40 years ago1.4K0fb859dc fixed mobile overflwo options [كارل مبارك]
[TXT]README.md40 years ago2.1K0fb859dc fixed mobile overflwo options [كارل مبارك]
[   ]package.json2 years ago2.0K 
README.md

strapi-provider-email-sendmail

Resources

Prerequisites

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

Installation

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

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

Configuration

Variable Type Description Required Default
provider string The name of the provider you use yes
providerOptions object Will be directly given to require('sendmail'). Please refer to sendmail doc. no {}
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: 'sendmail',
    settings: {
      defaultFrom: 'myemail@protonmail.com',
      defaultReplyTo: 'myemail@protonmail.com',
    },
  },
  // ...
});
Apache/2.4.38 (Debian) Server at www.karls.computer Port 80