ACSD-58685: Disabled sales emails are sent upon re-enabling
The ACSD-58685 patch fixes the issue where sales emails initiated while email communication is disabled are sent once email communication is re-enabled. This patch is available when the Quality Patches Tool (QPT) 1.1.55 is installed. The patch ID is ACSD-58685. Please note that the issue is scheduled to be fixed in Adobe Commerce 2.4.8.
Affected Products and Versions
The patch is created for Adobe Commerce version:
- Adobe Commerce (all deployment methods) 2.4.6-p4
Compatible with Adobe Commerce versions:
- Adobe Commerce (all deployment methods) 2.4.4 - 2.4.7-p3
magento/quality-patches
package to the latest version and check the compatibility on the Quality Patches Tool: Search for patches page. Use the patch ID as a search keyword to locate the patch.Issue
Sales emails initiated while email communication is disabled are sent once email communication is re-enabled.
Steps to reproduce:
- Go to Sales > Configuration > Advanced > System > Mail Sending Settings and set Disable Email Communications to No.
- Navigate to Sales > Configuration > Sales > Sales Emails > General Settings and set Asynchronous Sending to Yes.
- Clear the configuration cache.
- Place an order.
- Enable email communication.
- Place another order.
- Run the cron.
Expected results:
Only the email for the second order is sent.
Actual results:
Emails for both the first and second orders are sent.
Apply the patch
To apply individual patches, use the following links depending on your deployment method:
- Adobe Commerce or Magento Open Source on-premises: Quality Patches Tool > Usage in the Quality Patches Tool guide.
- Adobe Commerce on cloud infrastructure: Upgrades and Patches > Apply Patches in the Commerce on Cloud Infrastructure guide.
Related reading
To learn more about Quality Patches Tool, refer to:
Quality Patches Tool: A self-service tool for quality patches in the Tools guide.