strapi-provider-email-ovh
v1.0.1
Published
This package is an email provider for the headless CMS [Strapi](https://github.com/strapi/strapi). You can use this provider to send mail programmatically with `strapi-plugin-email`.
Readme
strapi-provider-email-ovh
This package is an email provider for the headless CMS Strapi.
You can use this provider to send mail programmatically with strapi-plugin-email.
This provider enables you to send email with OVH.
Installation
# using yarn
yarn add strapi-provider-email-ovh
# using npm
npm install strapi-provider-email-ovh --saveSetup
- Use same cridentials when you connect https://www.ovh.com/fr/mail/
- Configure the provider in
config/pluginswith cridentials in 1)
| Variable | Type | Description | Required | Default | | ------------------------- | ----------------------- | ----------------------------------------------------------------------------------------------------------------------------------- | -------- | --------- | | provider | string | The name of the provider you use | yes | | | providerOptions | object | Provider options | yes | | | providerOptions.user | string | An existing email address within your account https://www.ovh.com/fr/mail/ | yes | | | providerOptions.pass | string | The password of the account | yes | | settings | object | Settings | no | {} settings.defaultFrom | string | Default sender mail address, exist in domain | 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: 'ovh',
providerOptions: {
user: "[email protected]",
pass: "password",
},
settings: {
defaultFrom: '[email protected]',
defaultReplyTo: '[email protected]',
},
},
// ...
});