By default, WordPress sends emails with [email protected] as the sender address and name.
You can change this by adding some code to your theme’s functions.php file.
To change the sender address, use this code:
function my_custom_mail_from() { return '[email protected]'; } add_filter('wp_mail_from', 'my_custom_mail_from');
Make sure to use a sender address with a domain you own and set up properly, or your emails might be marked as spam.
To change the sender name, use this code:
function my_custom_mail_from_name() { return 'Your Name'; } add_filter('wp_mail_from_name', 'my_custom_mail_from_name');