Simply paste the following snippet into your functions.php file. Don’t forget to put the desired email adress on line 5 and desired name on line 8.
add_filter('wp_mail_from', 'new_mail_from');
add_filter('wp_mail_from_name', 'new_mail_from_name');
function new_mail_from($old) {
return '[email protected]';
}
function new_mail_from_name($old) {
return 'Your Blog Name';
}
Credits: Rainy Day Media.
Looking for WordPress hosting? Try WP Web Host. Prices starts at $5/month and you can try it for free!
How to change WordPress default FROM email address