You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 30, 2020. It is now read-only.
I was not able to find an open or closed issue matching what I'm seeing.
This is not a question. (Questions should be asked on chat (Signup here) or our forums.)
Return-Path Email is not used because the php function mail($to, $subject, $message, $headers, $parameters) only uses the last forced email from the $parameters string and the method prepareParameters(Mail\Message $message) in the class zend-mail\src\Transport\Sendmail.php
adds a second forced parameter, so the mail() function only uses this second parameter and the desired return path email is ignored.
1 - Admin store: Stores > Settings > Configuration > Advanced > System > Mail Sending Settings > Return-Path Email - set a different return path email
2 - Place an order
3 - Look for ´Return-Path: ' in the email
Expected results
return path email saved in settings
Actual results
sender or from email
The text was updated successfully, but these errors were encountered:
Return-Path Email is not used because the php function mail($to, $subject, $message, $headers, $parameters) only uses the last forced email from the $parameters string and the method prepareParameters(Mail\Message $message) in the class zend-mail\src\Transport\Sendmail.php
adds a second forced parameter, so the mail() function only uses this second parameter and the desired return path email is ignored.
E.g. $parameters = " '-f [email protected]' '-f [email protected]'";
It will use '[email protected]' as return path email.
Code to reproduce the issue
Magento 2.3.0 Alpha: steps to reproduce
1 - Admin store: Stores > Settings > Configuration > Advanced > System > Mail Sending Settings > Return-Path Email - set a different return path email
2 - Place an order
3 - Look for ´Return-Path: ' in the email
Expected results
return path email saved in settings
Actual results
sender or from email
The text was updated successfully, but these errors were encountered: