Skip to content

Sender email used for sender and reply in SendDisclaimedMailPreflight #1369

Description

@garbast

In SendDisclaimedMailPreflight the senderEmail and replyToEmail is set with the return of $senderService->getSenderEmail().

Our mail server is allowing only our own email addresses as sender. So we use the ReceiverMailSenderPropertiesGetSenderEmailEvent event and check wether the sender email is allowed and if not overwrite it with a configured email.

With this now the reply is also our own email address. But it would be nice to still use the users email address.

Am I wrong here? Do you like to receive a PR for this?

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