Last active
February 15, 2017 16:32
-
-
Save anthonysbrown/1714e3bd1fdac7c1783af2574f85a0ae to your computer and use it in GitHub Desktop.
Change email headers from smarty document manager emails
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
<?php | |
add_filter('sp_cdm/mail/headers','my_custom_headers', 20,5); | |
function my_custom_headers($headers,$from,$to,$subject,$message){ | |
$headers[] = "From: Test <example@example.com>\r\n"; | |
return $headers; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment