After July 2021, the 2.3.x release line no longer received quality updates or user guide updates. PHP 7.3 reached end of support in December 2021, and Adobe Commerce 2.3.x reached end of support in September 2022. We strongly recommend upgrading to Adobe Commerce 2.4.x to help maintain PCI compliance.

Configuring Email Communications

This site contains archived merchant documentation for a version of Adobe Commerce and Magento Open Source that has reached end-of-support. The documentation available here is intended for historical reference only and is not maintained. The Adobe Commerce Merchant Documentation for current releases is published on the Adobe Experience League.

The Mail Sending Settings give you the ability to route returned email or replies to email to a specific address. Also, if your store is running on a Windows server, you can verify the host and port settings.

Security Notice! We recommend that all merchants immediately set their mail sending configuration to protect against a recently identified potential remote code execution exploit. Until this issue is resolved, we highly recommend that you avoid using Sendmail for email communications. In the Mail Sending Settings, make sure that Set Return Path is set to No. To learn more, see the [Magento Security Center posting][2]{:target=”_blank”}.

Advanced configuration - mail sending settings Mail Sending Settings

Configure email communications

  1. On the Admin sidebar, go to Stores > Settings > Configuration.

  2. In the left panel, expand Advanced and choose System.

  3. Expand Expansion selector the Mail Sending Settings section and do the following:

    • If necessary, set Disable Email Communications to No.

    • If running on a Windows server, verify the following settings:

      Host localhost
      Port (25) 25
    • Until the current [security issue][2]{:target=”_blank”} is resolved, we highly recommend that you set Set Return Path to No.

      No (Recommended Security Measure) Routes returned email to the default store email address.
      Yes Routes returned email to the default store email address.
      Specified Routes returned email to the email address specified in the Return Path Email field.
  4. In the left panel, expand Sales and choose Sales Emails. Then, do the following:

    • Expand Expansion selector the General Settings section.

    • Set Asynchronous sending to Enable.

      Sales configuration - email general settings General Settings

  5. When complete, click Save Config.