Skip to content

Commit

Permalink
Merge branch 'dev' into 'main'
Browse files Browse the repository at this point in the history
fix: Fix ses client

See merge request locker/maily!12
  • Loading branch information
khaitranquang committed Feb 2, 2024
2 parents 7534866 + c1822bf commit b7533c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/maily/aws/ses.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def ses_send_raw_email(self, from_address, to_address, subject, message_body, at
msg_with_body = self.add_body_to_message(msg_with_headers, message_body)
msg_with_attachments = self.add_attachments_to_message(msg_with_body, attachments)
try:
sesv2_client = boto3.client(self.service, config=self.config, region_name=AWS_REGION)
sesv2_client = boto3.client('sesv2', config=self.config, region_name=AWS_REGION)
ses_response = sesv2_client.send_email(
FromEmailAddress=from_address,
Destination={
Expand Down

0 comments on commit b7533c1

Please sign in to comment.