Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by whitelisting our website.

How to change WordPress default email From name and address?

There are many method to change default wordpress email settings. Here you can see two methods.
FIRST ONE: Very easy, just download the plugin (Change WP eMail) and install and configure it.

SECOND ONE: It is very easy too 😀 and I like this one.

First of all you need to find and open functions.php file – it should be in your template folder.

Open it and either at the beginning or the end (as you prefer) – paste the following code:

/** changing default wordpress email settings */

add_filter('wp_mail_from', 'new_mail_from');
add_filter('wp_mail_from_name', 'new_mail_from_name');

function new_mail_from($old) {
   return 'your email address';
}
function new_mail_from_name($old) {
   return 'your name or your website';
}

Obviously you have to replace ‘your email address’ with your actual address, and ‘your name or your website’ with the name that you want to appear as FromName on all messages.

Now, save file and upload.

These filters will simply override default WordPress email settings.

I hope one of these two solutions worked for you, share and enjoy.

3 thoughts on “How to change WordPress default email From name and address?

  1. I would like to thank you for the efforts you have put in writing this site. I am hoping the same high-grade website post from you in the future as well. In fact your creative writing abilities has inspired me to get my own website going now. Actually blogging is spreading its wings and growing rapidly. Your write up is a great example.

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Wordpress Social Share Plugin powered by Ultimatelysocial