Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[Mailer] Capitalize sender header for Mailgun #52017

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
Oct 12, 2023

Conversation

Romanavr
Copy link
Contributor

Q A
Branch? 6.3
Bug fix? yes
New feature? no
Deprecations? no
Tickets Fix #51773 (comment)
License MIT

This fix resolves the duplicate header issue.
Without a fix, using API & HTTP transport type, emails could leave with double headers, causing problems for some email providers, for example, the problem was reproduced with Gmail:
5.7.1 This message is not RFC 5322 compliant. There are multiple Sender 5.7.1 headers. To reduce the amount of spam sent to Gmail, this message has 5.7.1 been blocked.

Moreover, I found that changes to HTTP transport type were not necessary since this problem could be solved by simply adding a sender, so I reverted everything for HTTP transport type.

@svendecabooter
Copy link

This fixes the issue I reported for me.

@carsonbot carsonbot changed the title Capitalize sender header [Mailer] Capitalize sender header Oct 12, 2023
@nicolas-grekas nicolas-grekas changed the title [Mailer] Capitalize sender header [Mailer] Capitalize sender header for Mailgun Oct 12, 2023
@nicolas-grekas nicolas-grekas force-pushed the Capitalize-sender-header branch from 0035d17 to eb394bb Compare October 12, 2023 13:32
@nicolas-grekas
Copy link
Member

Thank you @Romanavr.

@nicolas-grekas nicolas-grekas merged commit fb4f862 into symfony:6.3 Oct 12, 2023
@fabpot fabpot mentioned this pull request Oct 21, 2023
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.

4 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.