Skip to main content
Agency Program Get 2× more leads and save 50% on hosting. Built for agencies ready to grow. Book a call
wp_mail return-path icon

wp_mail return-path

v1.1.1
by barnz99 · 5.0 (9 reviews)

Simple plugin that correctly sets the return-path header when using wp_mail. Mitigates the "via" and "The actual sender of" Notif …

6K+ active installs Updated Dec 11, 2023 Tested to 6.3.5
Try Demo Download
Pre-installed Ready in ~10s No card

About wp_mail return-path

This plugin fixes an issue with the PHPMailer Sender that can cause emails to go to spam or junk folders. It ensures that the Sender and From addresses match, preventing Outlook from showing the "via" and "The actual sender of" notifications. This issue is common on shared hosting servers with default return-path headers.

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

Try other plugins