Skip to content

Sending through Mailgun mailer with a subdomain results in "on behalf of" in sender name #51596

Closed
@karensg

Description

@karensg

Symfony version(s) affected

6.3.2

Description

I am using symfony/mailgun-mailer (latest 6.3.2).

I have a subdomain set up: mg.domain.com and I send emails from user@domain.com. This should work when all dkim and spf align. However, the headers are not set correctly.

There is this issue with exact description of the problem and this solution

Can we please add this header as well?

How to reproduce

  • Create a subdomain in Mailgun like mg,domain.com
  • Send an email to a Microsoft email from user@domain.com

Possible Solution

https://stackoverflow.com/a/45445015/397646

Additional Context

No response

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