1.0.1 • Published 2 years ago

strapi-provider-email-aws-ses-service v1.0.1

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

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)

VariableTypeDescriptionRequiredDefault
providerstringThe name of the provider - aws-ses-serviceyes
providerOptionsobjectProvider optionsyes
providerOptions.accessKeyIdstringYour accessKeyId gotten from your AWS Accountyes
providerOptions.secretAccessKeystringYour secretAccessKey gotten from your AWS Accountyesyes
providerOptions.regionstringThe region of your AWS 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: "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