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.
# using yarn
yarn add strapi-provider-email-aws-ses-service
# using npm
npm install strapi-provider-email-aws-ses-service --save
- Use your AWS cridentials accessKeyId and secretAccessKey
- 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 |
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",
},
},
// ...
});