![]() | Name | Last modified | Size | Description |
---|---|---|---|---|
![]() | Parent Directory | - | ||
![]() | lib/ | 2 years ago | - | |
![]() | LICENSE | 40 years ago | 1.4K | 0fb859dc fixed mobile overflwo options [كارل مبارك] |
![]() | README.md | 40 years ago | 2.1K | 0fb859dc fixed mobile overflwo options [كارل مبارك] |
![]() | package.json | 2 years ago | 2.0K |
You need to have the plugin strapi-plugin-email
installed in you Strapi project.
# using yarn
yarn add strapi-provider-email-sendmail
# using npm
npm install strapi-provider-email-sendmail --save
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 |
Path - config/plugins.js
module.exports = ({ env }) => ({
// ...
email: {
provider: 'sendmail',
settings: {
defaultFrom: 'myemail@protonmail.com',
defaultReplyTo: 'myemail@protonmail.com',
},
},
// ...
});