Created
June 24, 2017 10:43
-
-
Save lynt-smitka/da5106c0e3b38308c1a4102ba318ef72 to your computer and use it in GitHub Desktop.
Fix Sender for WordPress mail
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_action('phpmailer_init', 'lynt_customize_mail_headers'); | |
function lynt_customize_mail_headers($phpmailer) { | |
$phpmailer->Sender = $phpmailer->From; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment