Change default WordPress email with your desire one

We are getting many requests regarding this default WordPress email notification issues.WordPress by default send

wordpress-email-listemails from , every time someone submitted a comment on your blog, signed up as a user or did anything that required WordPress to generate and send an e-mail, by default the “From Name” in that message appeared as “WordPress” and “From” address was “”.

Many of our customers requesting to add an option with WP User Front-end PRO so they can change this settings. Well as far i can say it will not be added on wpuf-pro, at least not in next version!

So here i will show you how to change this things. So far I found two ways of doing it:

1. Install WordPress plugin:

 You can install a WordPress plugin, for example: WP mail SMTP or WP Mail Configurator;

2. Edit functions.php file:

Add filter to functions.php file

The third option is  tweaks in one functions.php file as later you can easily reuse them on another project.

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 wordpres 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 three solutions work for you, Thank you.


  • j


    I merely would not get away from your website just before indicating which i really adored the standard data a person deliver to the family and friends? Will likely be yet again often to evaluate standing on new content

  • chat rooms

    chat rooms

    What’s right up pleasant blog! Dude. Exceptional. Incredible. Let me save your site as well as make for additionally? I am content to uncover several tips listed here within the create, we want work out further methods this particular reverence, thank you revealing.

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.