This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

wp_mail return-path

Description

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.

Installation

  1. Unzip all files to the /wp-content/plugins/ directory
  2. Log into WordPress admin and activate the ‘Latest Tweets’ plugin through the ‘Plugins’ menu

Reviews

20 de noviembre, 2023
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.
16 de junio, 2020
Finally I am able to use proper email addresses. Thanks
4 de mayo, 2017
Works with 4.7.4. I’m also using gravity forms and Avada theme. Installing it was quick and it removed the “via” header from emails sent from my site’s gravity forms notifications to gmail. There’s more to removing the via header (DKIM, SPF, From header, etc) but this was the missing piece for my site.
Read all 8 reviews

Contributors & Developers

“wp_mail return-path” is open source software. The following people have contributed to this plugin.

Contributors

Translate “wp_mail return-path” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

1.1.1

  • Tested with 6.3

1.1.0

  • Tested with 5.6.1
  • Fixed typo on filter_var
  • Changed to a singleton class

1.0.3

  • Tested with WordPress 4.9.4

1.0.2

  • Now only sets the sender if it’s not already set with a valid email address.

1.0.1

  • Tested on 4.4

1.0.0

  • Inital Release

0.0.1

  • Beta Release