Skip to content

[Mailer] Return-Path has higher priority for envelope address than From address #45992

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
Apr 12, 2022

Conversation

tpetry
Copy link
Contributor

@tpetry tpetry commented Apr 11, 2022

Q A
Branch? 4.4
Bug fix? yes
New feature? no
Deprecations? no
Tickets Fix #41322
License MIT
Doc PR -

@carsonbot
Copy link

Hey!

I see that this is your first PR. That is great! Welcome!

Symfony has a contribution guide which I suggest you to read.

In short:

  • Always add tests
  • Keep backward compatibility (see https://symfony.com/bc).
  • Bug fixes must be submitted against the lowest maintained branch where they apply (see https://symfony.com/releases)
  • Features and deprecations must be submitted against the 6.1 branch.

Review the GitHub status checks of your pull request and try to solve the reported issues. If some tests are failing, try to see if they are failing because of this change.

When two Symfony core team members approve this change, it will be merged and you will become an official Symfony contributor!
If this PR is merged in a lower version branch, it will be merged up to all maintained branches within a few days.

I am going to sit back now and wait for the reviews.

Cheers!

Carsonbot

@carsonbot
Copy link

It looks like you unchecked the "Allow edits from maintainer" box. That is fine, but please note that if you have multiple commits, you'll need to squash your commits into one before this can be merged. Or, you can check the "Allow edits from maintainers" box and the maintainer can squash for you.

Cheers!

Carsonbot

@tpetry tpetry force-pushed the return-path-priority branch from b2e75df to 4c98940 Compare April 11, 2022 10:24
@fabpot
Copy link
Member

fabpot commented Apr 11, 2022

This should be on 4.4 instead.

@tpetry
Copy link
Contributor Author

tpetry commented Apr 11, 2022

Ok, I'll rebase it onto 4.4 😉

@tpetry tpetry force-pushed the return-path-priority branch from 4c98940 to 7dd5c60 Compare April 11, 2022 10:40
@tpetry tpetry requested a review from chalasr as a code owner April 11, 2022 10:40
@tpetry tpetry changed the base branch from 6.0 to 4.4 April 11, 2022 10:42
@tpetry
Copy link
Contributor Author

tpetry commented Apr 11, 2022

@fabpot Can you re-run the workflows? I missed changing the new base branch information in the Github Pull Request setting.

@fabpot fabpot modified the milestones: 6.0, 4.4 Apr 11, 2022
@andjsch
Copy link

andjsch commented Apr 11, 2022

This is great! I am having the issue with Laravel 9 not setting the Return Path on the sent email correctly. It's always the sender email.

Thanks for the PR!

@tpetry tpetry force-pushed the return-path-priority branch from 7dd5c60 to 4945059 Compare April 12, 2022 06:17
@fabpot
Copy link
Member

fabpot commented Apr 12, 2022

Thank you @tpetry.

@fabpot fabpot merged commit 6af4986 into symfony:4.4 Apr 12, 2022
@tpetry tpetry deleted the return-path-priority branch April 12, 2022 06:23
nicolas-grekas added a commit that referenced this pull request Apr 12, 2022
…n SES API transport (xabbuh)

This PR was merged into the 5.4 branch.

Discussion
----------

[Mailer] prefer From header over Return-Path as sender in SES API transport

| Q             | A
| ------------- | ---
| Branch?       | 5.4
| Bug fix?      | yes
| New feature?  | no
| Deprecations? | no
| Tickets       | related to the changes made in #45992
| License       | MIT
| Doc PR        |

Commits
-------

c6174eb prefer From header over Return-Path as sender in SES API transport
This was referenced Apr 27, 2022
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.

5 participants