Skip to content

Commit

Permalink
add fromArn
Browse files Browse the repository at this point in the history
  • Loading branch information
hardillb committed Jul 15, 2024
1 parent bd360b5 commit be9ee93
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
5 changes: 3 additions & 2 deletions docs/install/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,8 +139,9 @@ This assumes that the instance is running with a Service Account that has a AWS

Option | Description
--------------|------------
`email.ses.region` | The AWS region to connect to
`email.ses.sourceArn` | The AWS ARN of a Identity to send email as
`email.ses.region` | The AWS region to connect to. Default `unset`
`email.ses.sourceArn` | The AWS ARN of a SES Identity to send email as. Default: `unset`
`email.ses.fromArn` | The AWS ARN of a SES Identity to set as the from field. Default to value of `email.ses.sourceArn`


## Telemetry configuration
Expand Down
3 changes: 2 additions & 1 deletion forge/postoffice/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,8 @@ module.exports = fp(async function (app, _opts) {

if (sesConfig.sourceArn) {
mailDefaults.ses = {
sourceArn: sesConfig.sourceArn
SourceArn: sesConfig.sourceArn,
FromArn: sesConfig.FromArn ? sesConfig.FromArn: sesConfig.sourceArn

Check failure on line 87 in forge/postoffice/index.js

View workflow job for this annotation

GitHub Actions / Postgres tests (18.x)

Operator ':' must be spaced
}
}

Expand Down

0 comments on commit be9ee93

Please sign in to comment.