Skip to content

Commit

Permalink
feat(Email): Adds configuration for Strapi's email service
Browse files Browse the repository at this point in the history
  • Loading branch information
KevSanchez committed Oct 23, 2024
1 parent a5db74e commit 12f6151
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
18 changes: 17 additions & 1 deletion cms/config/plugins.ts
Original file line number Diff line number Diff line change
@@ -1 +1,17 @@
export default () => ({});
export default ({env}) => ({
email: {
config: {
provider: 'amazon-ses',
providerOptions: {
key: env('AWS_SES_ACCESS_KEY_ID'),
secret: env('AWS_SES_ACCESS_KEY_SECRET'),
amazon: 'https://email.af-south-1.amazonaws.com',
},
settings: {
defaultFrom: '[email protected]',
defaultReplyTo: '[email protected]',
},
},
}

});
1 change: 1 addition & 0 deletions cms/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"@strapi/plugin-cloud": "4.25.13",
"@strapi/plugin-i18n": "4.25.13",
"@strapi/plugin-users-permissions": "4.25.13",
"@strapi/provider-email-amazon-ses": "5.1.1",
"@strapi/strapi": "4.25.13",
"pg": "8.8.0",
"react": "^18.0.0",
Expand Down

0 comments on commit 12f6151

Please sign in to comment.