wp_mail return-path

Sharraxaad

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.

Rakibaad

  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

Dibu-eegisyo

20 Nofeembar, 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 Juunyo, 2020
Finally I am able to use proper email addresses. Thanks
4 Maajo, 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.
Akhri dhammaan 8 dibu-eegis

Ka-qaybgalayaasha & Horumariyayaasha

“wp_mail return-path” waa softiweer il furan. Dadka soo socda ayaa wax ku biiriyay kaabahan.

Ka-qaybgalayaasha

Ku tarjun “wp_mail return-path” luqaddaada.

Ma xiisaynaysaa horumarinta?

Baadh koodka, fiiri bakhaarka SVN, ama iska qor diiwaanka horumarinta adigoo adeegsanaya RSS.

Isbeddellada

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