Skip to content

[9.x] Set SES MessageId to the sent message ID #41328

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from

Conversation

leandro-hermes
Copy link
Contributor

This PR sets the given SES message ID as the SentMessage's message ID.

As mentioned in #40696, the addition of Message ID's to the headers of the just-sent message was removed because Symfony is generating one. But the actual SES message ID may be needed, in my case, to manage the status of the sent e-mail, that may be afterwards sent by the SES service, referencing the previously given ID.

@taylorotwell
Copy link
Member

Would this be a breaking change for existing applications? Why or why not?

@leandro-hermes
Copy link
Contributor Author

After you asked me, I dug deeper and realized that this behavior is actually wrong, because the generated ID has already sent in the message headers. I'll try to find another approach to attach the returned ID. Sorry.

@leandro-hermes leandro-hermes deleted the ses-message-id branch March 8, 2022 14:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants