wp_mail return-path
Simple plugin that correctly sets the return-path header when using wp_mail. Mitigates the "via" and "The actual sender of" Notif …
Ratings
Last updated
December 11, 2023
Version
1.1.1
Active installations
5K
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.
This plugin is available for download to be used on your WordPress self-hosted installation.