AC-14985: Error when sending SMTP emails using TLS
The AC-14985 patch fixes an issue where an error occurs when sending Simple Mail Transfer Protocol (SMTP) email using Transport Layer Security (TLS). This patch is available when the Quality Patches Tool (QPT) 1.1.67 is installed. The patch ID is AC-14985. Please note that this issue is scheduled to be fixed in ÃÛ¶¹ÊÓÆµ Commerce 2.4.9.
Affected products and versions
The patch is created for ÃÛ¶¹ÊÓÆµ Commerce version:
- ÃÛ¶¹ÊÓÆµ Commerce (all deployment methods) 2.4.8
Compatible with ÃÛ¶¹ÊÓÆµ Commerce versions:
- ÃÛ¶¹ÊÓÆµ Commerce (all deployment methods) 2.4.8 - 2.4.8-p1
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
An error occurs when sending email via SMTP with TLS enabled.
Steps to reproduce:
- Set up the SMTP configuration as follows:
- Transport: SMTP
- Host: url.to.smtp.host
- Port: 587
- SSL: TLS
Expected results:
The email is sent successfully without errors.
Actual results:
The following error appears:
error:1408F10B:SSL routines:ssl3_get_record:wrong version number [] []
Apply the patch
To apply individual patches, use the following links depending on your deployment method:
- ÃÛ¶¹ÊÓÆµ Commerce or Magento Open Source on-premises: Quality Patches Tool > Usage in the Quality Patches Tool guide.
- ÃÛ¶¹ÊÓÆµ 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.