As of April 2026, wp_mail return-path is a WordPress sender plugin with 5.0K+ active installations and a 5/5 rating from 9 reviews. It has been downloaded 33K+ times in total. Requires WordPress 3.0.1+ and PHP false+. Available on WordPress.org since 2015. Last updated 2 years ago — may have compatibility concerns. Download volume is stable this week. Top alternative: Site Mailer – SMTP Replacement, Email….
This plugin sets the PHPMailer Sender (return-path) the same as the From address if it’s not correctly set.
Mitigates the “via” and “The actual sender of” Notification in Outlook and stops email going to spam/junk because of the mismatch between From and Return-Path headers.
This usually occurs on shared hosting servers when local user / domain is used as default for the return-path header and WordPress only sets the From header.
Works a treat and fixes an otherwise troublesome issue. Many thanks.
Needed to be able to set return-path email header in my WordPress emails so that they don’t get flagged as spam. This plugin does the trick.
It works, and it fixes a major flaw of WP.
Finally I am able to use proper email addresses. Thanks
… and just does what it should do, thanks!
| WordPress | 3.0.1+ requiredTested up to 6.3.8 |
| PHP | false+ required |
Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.