Skip to content

pentcloud/strapi-provider-email-pentcloud

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

strapi-provider-email-sendmail

Prerequisites

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

Installation

# using npm
npm install @pentcloud/strapi-provider-email-ses --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: 'pentcloud',
        providerOptions: {
            method: 'POST',
            url: 'https://domain.com/v1/mail/ses/send',
            headers: {
                'Content-Type': 'application/json',
                'x-api-key': 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx',
            },
        },
        settings: {
            defaultNameFrom: 'APP_NAME',
            defaultEmailFrom: 'no-reply@APP_NAME.com',
        },
    },
    // ...
})

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published