1.0.1 • Published 2 years ago

strapi-provider-email-ovh v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

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 --save

Setup

1) Use same cridentials when you connect https://www.ovh.com/fr/mail/ 2) Configure the provider in config/plugins with cridentials in 1)

VariableTypeDescriptionRequiredDefault
providerstringThe name of the provider you useyes
providerOptionsobjectProvider optionsyes
providerOptions.userstringAn existing email address within your account https://www.ovh.com/fr/mail/yes
providerOptions.passstringThe password of the accountyes
settingsobjectSettingsno{}
settings.defaultFromstringDefault sender mail address, exist in domainnoundefined
settings.defaultReplyTostringarray Default address or addresses the receiver is asked to reply tonoundefined

Example

Path - config/plugins.js

module.exports = ({ env }) => ({
  // ...
  email: {
    provider: 'ovh',
    providerOptions: {
      user: "myemail@example.com",
      pass: "password",
    },
    settings: {
      defaultFrom: 'myemail@example.com',
      defaultReplyTo: 'myemail@example.com',
    },
  },
  // ...
});

Resources

Links