Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[Mailer] Fix SES test #40006

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

Merged
merged 1 commit into from
Jan 27, 2021
Merged

[Mailer] Fix SES test #40006

merged 1 commit into from
Jan 27, 2021

Conversation

jderusse
Copy link
Member

Q A
Branch? 5.2
Bug fix? yes
New feature? no
Deprecations? no
Tickets -
License MIT
Doc PR -

When using the native (deprecated) Transport, we used the SES AWS endoint, but the new version that rely on async-aws uses SESV2. The former uses XML, but the new one use JSON.
Since async-aws/aws#933 async-aws is stricter on reponses parsing, and now is not able to parse an XML response when the endpoint expect JSON.

This PR fixes the tests to be compliant with AWS SESV2 protocol

@nicolas-grekas nicolas-grekas merged commit ab48b7b into symfony:5.2 Jan 27, 2021
@jderusse jderusse deleted the fix-ses-test branch February 5, 2021 17:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants