Skip to content

Add SourceArn parameter to ses send_email #61

@Raphael-D-S

Description

@Raphael-D-S

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,
},
},
)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions