Skip to content

fix(parser): read replyTo from SES common headers - #8525

Open
LuisFigueroaG wants to merge 1 commit into
aws-powertools:developfrom
LuisFigueroaG:fix/ses-parser-reply-to
Open

LuisFigueroaG wants to merge 1 commit into
aws-powertools:developfrom
LuisFigueroaG:fix/ses-parser-reply-to

Conversation

@LuisFigueroaG

Copy link
Copy Markdown

Issue number: closes #8523

Summary

Changes

The SES parser model declared the reply_to alias as reply-to, but SES sends replyTo in commonHeaders, which the SES data class already reads. The alias is now replyTo. Added a test that checks cc, bcc, sender and reply_to are parsed. The reply_to assertion fails on develop.

User experience

Before: SesModel always returned reply_to=None.
After: reply_to contains the Reply-To addresses, consistent with SESEvent.


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Disclaimer: We value your time and bandwidth. As such, any pull requests created on non-triaged issues might not be successful.

@LuisFigueroaG
LuisFigueroaG requested a review from a team as a code owner October 6, 2026 02:29
@LuisFigueroaG
LuisFigueroaG requested a review from svozza October 6, 2026 02:29
@powertools-for-aws-oss-automation powertools-for-aws-oss-automation Bot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Oct 6, 2026
@boring-cyborg boring-cyborg Bot added the tests label Oct 6, 2026
@sonarqubecloud

sonarqubecloud Bot commented Oct 6, 2026

Copy link
Copy Markdown

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/S Denotes a PR that changes 10-29 lines, ignoring generated files. tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug: SesModel ignores the replyTo common header

1 participant