Error on SES SendRawEmail without Destinations specified #6287
Labels
aws:ses
AWS Simple Email Service
good first issue
Good item to work on for newcomers
status: confirmed
The bug report was confirmed
type: bug
Bug relating to LocalStack
Hi there,
We're in the process of isolating our build to use LocalStack. In the process we stumbled on an issue where LocalStack would fail with 500 error on SendRawEmail.
We're able to isolate the issue to what appears to be a LocalStack issue. According to a post on StackOverflow, for us to use SendRawEmail and to specify TO, CC and BCC, we must specify it on the on the message/email header, then we MUST not set destinations. This works as expected when we have AWS to test as well as in Production. LocalStack however, produces the following error:
Adding a valid email address(es) to the destination will not result in the error from LocalStack (our tests will pass). There doesn't seem a way for us to use the SendRawEmailRequest destinations field to specify CC or BCC fields (which we require).
We're using the latest localstack docker image, on Java 14 and we're using java aws SDK 1.11.277.
Please help.
The text was updated successfully, but these errors were encountered: