Open Filipe-Bicho opened 6 years ago
This repository has been closed and moved to laminas/laminas-mail; a new issue has been opened at https://github.com/laminas/laminas-mail/issues/27.
This repository has been moved to laminas/laminas-mail. If you feel that this patch is still relevant, please re-open against that repository, and reference this issue. To re-open, we suggest the following workflow:
git rebase -i origin/{branch}
)
Description
E-mail Return-Path is not set correctly because it only uses the last forced e-mail address, so as workaround I implemented this code change to give priority to the e-mail address that is already stored in the parameters and therefore the return path mail will be set correctly.
E.g. $parameters = " '-f test1@mail.com' '-f test2@mail.com'"; It will use 'test2@mail.com' as return path email.
Magento 2.3.0 Alpha: steps to reproduce