The MDVA-29954 patch solves the issue where the "New Company Registration Request" and "You've been linked to a company" emails are sent from the wrong email address. This patch is available when the Magento Quality Patch (MQP) tool v.1.0.8 is installed. Please note that the issue is scheduled to be fixed in Magento version 2.4.2.
Affected products and versions
- The patch was designed for Magento Commerce 2.3.3.
- The patch is also compatible with Magento Commerce and Magento Commerce Cloud 2.3.0 - 2.3.5-p2, 2.4.0, and 2.4.1.
Note: the patch can be applicable to other versions. To check if the patch is compatible with your Magento version, run ./vendor/bin/magento-patches status
.
Issue
Prerequisites:
Install Magento with B2B, with B2B Features and Company enabled.
Steps to reproduce:
- Click on the Create Account dropdown on the storefront, and select Create New Company Account.
- Fill in the required fields, and register the account.
- Enable the Company from the backend (Customer > Companies).
- Check the email address that you used for registration.
- Set the Company Admin password by following the emailed instructions.
- Log in to the frontend with the Company Admin password.
- Create a new Company User in My Account > Company Users > Add New User.
- Go to Stores > Configurations > General-Store Email Addresses > General Contact, and check Sender Email.
- Go to the email that you used to register the New User in Step 7.
Expected results:
The "You've been linked to a company" email is sent from an email address with the same value as for the Sender Email in Step 8, as expected.
Actual results:
The "You've been linked to a company" email is sent from the Companies Admin email.
Apply the patch
To apply individual patches use the following links depending on your Magento product:
- Magento Commerce: DevDocs Software Update Guide > Apply Patches.
- Magento Commerce Cloud: DevDocs Upgrades and Patches > Apply Patches.
Related reading
To learn more about Magento Quality Patches, refer to:
- Magento Quality Patches released: a new tool to self-serve quality patches.
- Check if patch is available for your Magento issue using Magento Quality Patches.
For info about other patches available in MQP tool, refer to the Patches available in MQP tool section.