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?
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?