8000 [Mailer] Capitalize sender header for Mailgun by Romanavr · Pull Request #52017 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

[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.

@carsonbot carsonbot added this to the 6.3 milestone Oct 12, 2023
@Romanavr Romanavr mentioned this pull request Oct 12, 2023
< 8000 div class="flex-shrink-0 my-1 my-md-0 ml-md-3"> Merged
@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
0