bug: SES v2 raw email Source includes the From display name, so messages are not listed under their email identity
#58
vpylypenko2
started this conversation in
Bugs
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Is there an existing report for this?
Current Behavior
When a raw email is sent with SES v2
SendEmailand itsFromheader has a display name:LocalStack stores the whole header value,
Example App <sender@example.com>, as the message'sSource, instead of the addresssender@example.com.As a result, the message is not found under its email identity:
GET /_aws/ses?email=sender@example.comreturns nothing.sender@example.comidentity.Setting
FromEmailAddresson the request doesn't change this.Sourceis still the full header value.Expected Behavior
Sourceshould be the email address only (sender@example.com), as AWS SES ignores the display name when it matches the sender to an identity. WhenFromEmailAddressis set, it should be used as theSource.How are you starting LocalStack?
With a
docker-composefileSteps To Reproduce
Actual:
Expected:
The result is the same without
FromEmailAddress.Environment
Anything else?
Workaround: create an extra email identity named
Example App <sender@example.com>; the messages are then listed under it.All reactions