chore: Amazon SES readme plugin config improvements (#23390)

This commit is contained in:
Ramazan Sancar 2025-04-30 15:16:59 +03:00 committed by GitHub
parent fb92031f3d
commit 253ca3ab29
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -46,7 +46,7 @@ module.exports = ({ env }) => ({
providerOptions: {
key: env('AWS_SES_KEY'),
secret: env('AWS_SES_SECRET'),
amazon: 'https://email.us-east-1.amazonaws.com',
amazon: `https://email.${env('AWS_SES_REGION', 'us-east-1')}.amazonaws.com`, // https://docs.aws.amazon.com/general/latest/gr/ses.html
},
settings: {
defaultFrom: 'myemail@protonmail.com',
@ -57,3 +57,11 @@ module.exports = ({ env }) => ({
// ...
});
```
**Path -** `.env`
```env
AWS_SES_KEY=
AWS_SES_SECRET=
AWS_SES_REGION=
```