Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add SourceArn parameter to ses send_email #61

Open
Raphael-D-S opened this issue Jul 19, 2023 · 0 comments
Open

Add SourceArn parameter to ses send_email #61

Raphael-D-S opened this issue Jul 19, 2023 · 0 comments

Comments

@Raphael-D-S
Copy link

Hi,

SES send_email call should have the SendArn parameter.
In the organizational context, SES identities are often defined on a dedicated aws account

https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/ses/client/send_email.html

aws-health-aware/handler.py

Lines 267 to 283 in eae99cc

response = client.send_email(
Source=SENDER,
Destination={
'ToAddresses': RECIPIENT
},
Message={
'Body': {
'Html': {
'Data': BODY_HTML
},
},
'Subject': {
'Charset': 'UTF-8',
'Data': SUBJECT,
},
},
)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant