How to change WordPress default FROM email address

How to change WordPress default FROM email address

WordPress is a very flexible blogging platform, but by default, you can’t modify the FROM email address. If you want to be able to easily change it, just read the article  I have for you today.

Simply paste the following snippet into your functions.php file. Don’t forget to put the desired email address 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';


  1. Nicky Falson 9 years ago

    Would you be fascinated with exchanging links?

  2. Patricia Rance 9 years ago

    very good submit, i definitely love this web site, keep on it

  3. Nitha 9 years ago

    Wow, incredible blog format! How long have you ever been blogging for? you make blogging glance easy. The whole glance of your web site is magnificent, as neatly as the content material!

Leave a reply

Your email address will not be published. Required fields are marked *