plugin-icon

wp_mail return-path

By barnz99·
Simple plugin that correctly sets the return-path header when using wp_mail. Mitigates the "via" and "The actual sender of" Notif …
Rating
5/5
Version
1.1.1
Active installations
5K
Last updated
Dec 11, 2023

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.

Freeon Business plan
Tested up to
WordPress 6.3.7
This plugin is available for download for your site.