Magento Open Source 2.2.x

Configuring Email Communications

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.

To configure email communications:

1. On the Admin sidebar, tap Stores. Then under Settings, choose Configuration.
2. In the panel on the left under Advanced, choose System.
3. Expand the Mail Sending Settings section. Then, do the following:
a. If necessary, set Disable Email Communications to “No.”
b. If running on a Windows server, verify the following settings:
  • Host

    localhost

    Port (25)

    25

c. Until the current security issue 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. When complete, tap Save Config.