How to set the return path email in Magento 2

Key takeaways
- Return path email tells mail servers where bounced messages should go.
- The setting is under Stores > Configuration > Advanced > System > Mail Sending Settings.
- A valid return path email can support bounce handling and deliverability.
- Return path works alongside SMTP, SPF, DKIM, DMARC, and testing.
Return path email in Magento 2 helps route bounced or undelivered messages to the right inbox, giving store teams better visibility into failed transactional emails. It’s a small setting, but it can affect how teams monitor issues with order confirmations, password resets, registration emails, and other customer messages.
Before relying on the setting, test it in your own Magento environment. Return path behavior can vary by Magento version, hosting setup, and SMTP configuration, and some versions have had known issues with the feature.
Host Magento at full throttle.
Get secure, reliable Magento hosting so you can scale faster.
What is the return path email in Magento 2?
Return path email in Magento 2 is the hidden email header that tells mail servers where to send bounced or undelivered messages. It’s different from the visible From address that customers see in their inbox.
The return path in an email header is the address used for bounce messages and delivery failures. If an email cannot be delivered, the receiving mail server can use the return path to route that failure notice back to the correct mailbox.
Why return path email matters for Magento stores
Setting the return-path email designates an email address for all failed emails. By default, most mail servers use the server’s email address for failed deliveries, preventing you from seeing those failed emails. It also resolves issues with customers not receiving system emails relating to registration, password recovery, and order notification.
A return path email can help store teams see failed delivery notices instead of losing them to a server-level address no one monitors. It can also support email validation and deliverability when it works with the rest of your mail setup.
Return path vs. From address
The From address is the sender customers see, such as [email protected] or [email protected].
The return path is usually hidden in the email header. Mail servers use it for bounced messages and delivery errors.
These addresses can be the same in some setups, but many stores use a dedicated bounce address, such as [email protected], to separate delivery issues from customer-facing inboxes.
How to configure return path email in Magento 2
Before changing this setting, note that return path behavior may vary by Magento version, hosting environment, and mail transport setup. Test after saving. For more information, see the GitHub bug report. Magento is aware of the issue, but has not yet offered any more information.
Use the following procedure to set the return-path email in Magento 2:
- Log in to your Magento 2 dashboard
- Select Stores > Configuration
- In the Configuration panel, scroll down and click Advanced > System
- In the Configuration menu, click Mail Sending Settings
- In the Mail Sending Settings menu, from the Set Return-Path dropdown list, select Specified
- In the Return-Path Email field, enter your desired email address
- Click Save Config
Magento 2 return path settings explained
Magento’s Set Return-Path field typically includes three options:
No uses the default behavior and routes returned emails to the default store email address or server-level handling, depending on the mail setup.
Yes explicitly routes returned emails to the default store email address.
Specified lets you enter a custom email address in the Return-Path Email field.
The Specified option is often useful when you want bounced emails to go to a monitored address, such as [email protected], instead of a general customer-facing inbox.
What email address should you use for return path?
Use a valid email address tied to a domain your store controls. The mailbox should be monitored or routed somewhere your team can review bounce messages.
A dedicated bounce address can make delivery issues easier to track. It should also fit your broader email setup, including SMTP, SPF, DKIM, DMARC, and sender domain alignment.
Don’t treat the return path as a standalone fix for deliverability. It works best as part of a complete Magento email configuration.
Return path, SMTP, and email deliverability
Return path is only one part of Magento email delivery. SMTP configuration, sender identity, SPF, DKIM, DMARC, domain alignment, and email testing also matter.
If you use a third-party SMTP extension, check its settings too. Some SMTP extensions include their own return path controls and may override or behave differently than Magento’s default configuration.
Testing return path email after configuration
After saving the return path configuration, test common Magento emails. Start with order confirmations, password reset emails, customer registration messages, and contact form replies.
Check whether emails reach the inbox, whether bounce messages return to the expected mailbox, whether emails land in spam, and whether sender details look correct.
Common return path email issues in Magento 2
Common issues include emails still going to spam, bounce messages going to the wrong mailbox, SMTP extension settings overriding Magento settings, invalid return path addresses, missing SPF/DKIM/DMARC records, or cache not being refreshed.
Hosting-level mail transport can also affect behavior. In some environments, mail may use a system-level sender or server default if Magento or the SMTP setup doesn’t explicitly control the return path.
If the setting appears correct but messages still fail, check Magento mail settings, SMTP extension settings, DNS authentication, hosting mail configuration, and email logs.
Return path email and multi-store Magento setups
Return path settings may be global by default, depending on the Magento version, store setup, and mail configuration.
Multi-store businesses should confirm whether each store view needs the same return path address. If each store needs its own bounce address, custom development, SMTP configuration, or an extension may be needed.
Return path email FAQs
Return path email next steps
Return path email in Magento 2 helps route bounced emails, support deliverability, and give store owners better visibility into failed customer messages.
Start by reviewing your current Mail Sending Settings, choosing a valid return path address, saving the configuration, and testing important transactional emails.
Magento email reliability depends on more than one setting. Liquid Web Magento hosting gives ecommerce teams the performance, support, and reliability they need to keep store operations and customer communication running with confidence. Explore Liquid Web Magento hosting to find the right fit.
For 24-hour assistance any day of the year, contact our support team by email or through your Client Portal.
Ready to get started?
Get the fastest, most secure Magento hosting on the market
Additional resources
Beginner’s guide to Magento 2 modes →
Discover how modes affect store performance, development, and deployment.
How to change base urls in Magento 2 →
Update base URLs to keep your store address and pages working correctly.
How to issue a reindex in Magento 2 →
Refresh Magento 2 indexes to keep store data and pages displaying correctly.
