-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Return path e-mail variable system/smtp/return_path_email not used anywhere? #6146
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
We have the same problem in 2.1.0 and some customers (e.g. those with a GMX account) don't get any emails. Magento does not set the return path because the the configuration will be not be used because it's not implemented. Will this fix be included in 2.1.1 ? Edit: Work around in php.ini:
|
This bug or missing feature has not been fixed/added in 2.1.1 |
Also having this issue and unable to get emails through. |
I have spent some time looking at this and based on the following I think Magento is not setting the php mail options anymore because the return path refuses to change.
Can this get bumped up the list? We literally cannot use Magento in a multi store mode as the emails are getting classified as spam, predominately by SPF. Mage 2.1.1 |
Same for 2.1.2 |
@victor-v-rad Can you please check this issue? :) |
I see there is a function setReturnPath(). Maybe we can use that in Magento\Sales\Model\Order\Email\SenderBuilder->send() and then do $this->transportBuilder->setReturnPath() ? |
ran into this issue as well today. |
The problem lies with the Now the return path must be set in the constructor of So, I suggest getting the necessary settings in the constructor of |
Same here. |
Looks like the feature has been removed intentionally (see: magento2/dev/tests/static/testsuite/Magento/Test/Legacy/_files/obsolete_constants.php Line 189 in b1e56ed
On a plus side, Magento 2 should be unaffected by the current exploit ZF2016-04 |
I agree with @dooblem |
removing it is a bad idea. our larger shop owners have dedicated return-path and reply-to addresses that are screened by their staff - set on the store level so that return mails from the german storeview can be screened by the german team, french by the frenchs etc. using the common base os sender email is not an option. |
issue is still present in 2.1.4 |
Used @ktruehl solution, but seems it stopped working in 2.1.6. It worked perfectly for all e-mails in 2.1.5 |
Good to know, @Noewt. We haven't upgraded to 2.1.6 yet. Sounds like fun. Once we upgrade and I have to port my patch, I will post the new patch here. |
So I upgraded from 2.0.3 to magento 2.1.6, it seems that the customer is no longer receiving email. Like New Order or Registration Email. |
same problem in 2.1.7 - any solution yet? |
Bump. Did anyone find a workaround? |
Anyway, I went ahead and added this line It's really dirty but does the trick for now. |
✅ Confirmed by @Krielkip |
😱 something with fix commit and close ticket.. |
Can be closed if this is merged: magento/zf1#26 |
Hi @Krielkip. Thank you for working on this issue.
|
magento/zf1#26 |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed after 14 days if no further activity occurs. Is this issue still relevant? If so, what is blocking it? Is there anything you can do to help move it forward? Thank you for your contributions! |
Ready for work and reproduced issues should not be closed automatically. Posting her to remove stale bot. |
@magento-engcom-team don't close confirmed and ready to work tickets. This is reproduced on 2.4.X and needs to be solved. |
@dverkade agreed |
Looking forward to celebrate the five year anniversary of an issue that should have been a simple fix for an essential core feature because what? We're still waiting until migration from legacy ZF1 to legacy ZF2 is done? Oh boy.... |
Der war gut @schmengler, endlich mal einer der es offen anspricht. |
And yet the MR is open for this to be fix before the migration 😄 |
Trying to configure the return path e-mail as described on https://docs.nexcess.net/article/how-to-set-the-return-path-email-in-magento-2.html on Magento CE 2.1.0 but failing to do so.
I can see that both system/smtp/set_return_path and system/smtp/return_path_email are configured correctly in my core_config_data table but when I look for these variables in the source I don't seem them used anywhere. The only references I could find for return_path_email are these:
Const XML_PATH_SENDING_RETURN_PATH_EMAIL doesn't seem to be used anywhere either. Could someone please confirm that these settings are in fact used in Magento CE 2.1.0 & if so point me to the correct file for debugging?
Preconditions
Steps to reproduce
Expected result
Actual result
The text was updated successfully, but these errors were encountered: