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.
# using yarn
yarn add strapi-provider-email-ovh
# using npm
npm install strapi-provider-email-ovh --save
- Use same cridentials when you connect https://www.ovh.com/fr/mail/
- Configure the provider in
config/plugins
with 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 |
Path - config/plugins.js
module.exports = ({ env }) => ({
// ...
email: {
provider: 'ovh',
providerOptions: {
user: "[email protected]",
pass: "password",
},
settings: {
defaultFrom: '[email protected]',
defaultReplyTo: '[email protected]',
},
},
// ...
});