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

Skip to content

Mailer return path is not set correctly  #41322

Closed
@peteruu

Description

@peteruu

Symfony version(s) affected: 4.4.16

Description
When we create a email with defined ->returnPath('[email protected]') email is delivered but in email source we can see that return path was replaced by ->from('[email protected]') We tried to upgrade this component to v5.0.6 and also v5.0.9 both versions are working correctly. WE was using our server DSN and also tried this setting: MAILER_DSN=sendmail://default without change

How to reproduce
Just sent a email with setup "returnPath" and returnPath should be in your mailbox replaced with "from"

Possible Solution
probably something in suggested versions

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions