strapi-provider-email-aws-ses-service

1.0.1 • Public • Published

strapi-provider-email-aws-ses-service

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 Amazon AWS SES.

Installation

# using yarn
yarn add strapi-provider-email-aws-ses-service

# using npm
npm install strapi-provider-email-aws-ses-service --save

Setup

  1. Use your AWS cridentials accessKeyId and secretAccessKey
  2. Configure the provider in config/plugins with cridentials in 1)
Variable Type Description Required Default
provider string The name of the provider - aws-ses-service yes
providerOptions object Provider options yes
providerOptions.accessKeyId string Your accessKeyId gotten from your AWS Account yes
providerOptions.secretAccessKey string Your secretAccessKey gotten from your AWS Account yes
providerOptions.region string The region of your AWS 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: "aws-ses-service",
    providerOptions: {
      accessKeyId: "your aws accessKeyId",
      secretAccessKey: "your aws secretAccessKey",
      region: "your aws region",
    },
    settings: {
      defaultFrom: "myemail@example.com",
      defaultReplyTo: "myemail@example.com",
    },
  },
  // ...
});

Resources

Links

Readme

Keywords

none

Package Sidebar

Install

npm i strapi-provider-email-aws-ses-service

Weekly Downloads

10

Version

1.0.1

License

MIT

Unpacked Size

6.11 kB

Total Files

4

Last publish

Collaborators

  • sndiaye2022