Best 2 Know

The Ultimate Blogging Resource

  • Advertising
  • WebHosting
  • Contact Us
  • Blogger
    • Blogger Templates
    • Blogger Tutorials
  • Browser
    • Firefox
    • Google Chrome
  • Google
  • Internet
    • Facebook
    • Twitter
  • Thesis
  • Windows
  • WordPress
    • WordPress Themes
    • WordPress Plugins
  • More
    • Linux
    • Review
    • Solutions
    • Announcements

Change WordPress “from” email address

Hi Friends today i m going to tell you a simple trick that is very useful, When ever we see a Email sent by our wordpress site it is normally sent by wordpress@yoursite.com . So todays trick will let you change the Email Address of your wordpress blog  to youremailid.com

i.e.

wordpress@yoursite.com to youremailid.com

wordpress@yoursite.com to youremailid.com

for me it will be

wordpress@best2know.info to riteshsanap@gmail.com

wordpress@best2know.info to riteshsanap@gmail.com

To Implement this you just have to Follow the Below Steps :

  1. First Login to your WordPress Blog
  2. Then Go to Appearance and in it for Editor
  3. In editor navigate to Functions.php
  4. In Functions.php add the below code :
    /*
    * Filter wp_mail's blog name and email address
    * default will show WordPress and WordPress@sitename.com
    * If you don't want default use these two functions
    */
    function res_fromemail($email) {
    $wpfrom = get_option( 'admin_email' );
    return $wpfrom;
    }
     
    function res_fromname($email){
    $wpfrom = get_option( 'blogname' );
    return $wpfrom;
    }
    add_filter('wp_mail_from', 'res_fromemail');
    add_filter('wp_mail_from_name', 'res_fromname');

    /* * Filter wp_mail's blog name and email address * default will show WordPress and WordPress@sitename.com * If you don't want default use these two functions */ function res_fromemail($email) { $wpfrom = get_option( 'admin_email' ); return $wpfrom; }function res_fromname($email){ $wpfrom = get_option( 'blogname' ); return $wpfrom; } add_filter('wp_mail_from', 'res_fromemail'); add_filter('wp_mail_from_name', 'res_fromname');

  5. Then Save it

Now we have implement the code successfully give it a test try and let me have the feedBack.

If you like it then do share it

Subscribe via Email

Share this:

  • Twitter
  • Facebook
  • Pocket
  • Print
  • Email

Related

February 12, 2011 Ritesh Sanap WordPress Email, Email Address, wordpress

Post navigation

Previous Previous post: Setting Up Code Blocks
Next Next post: How to Free Some Disk Space in Linux

Currently Trending

  • Windows Vista CD key
  • How to download Specific parts of YouTube videos
  • How to download torrents without utorrent
  • How to Increase Dropbox upload speed
  • How to Add Breadcrumb for blogger blog
  • List Of All 255 Keyboard All Alt Key Codes
  • Google 2-Step Verification
  • How to add Attribution widget in blogger
  • How to retrieve my Demonoid username
  • You might also like this Widget for blogger or Related post widget

Random Posts

Windows Vista CD key

August 25, 2009 By Ritesh Sanap 39 Comments

How to add our own logo to Dashboard

March 15, 2011 By Ritesh Sanap Leave a Comment

Place Your FaceBook Chat On Your FireFox Sidbar With This Simple Guide

May 7, 2010 By Ritesh Sanap Leave a Comment

How to redirect your homepage to the first post

March 22, 2011 By Ritesh Sanap Leave a Comment

How to get first image from post

June 15, 2011 By Ritesh Sanap Leave a Comment

WordPress

HTTP2 Server Push for W3 Total Cache Minify plugin

August 17, 2016 By Ritesh Sanap 5 Comments

How to Disable Emojis in WordPress

January 6, 2016 By Ritesh Sanap Leave a Comment

JetPack Related posts and Sharing not working with NGINX

November 10, 2015 By Ritesh Sanap Leave a Comment

Simply Pure – WordPress Theme

November 2, 2014 By Ritesh Sanap 2 Comments

Advanced What should we Write about next? – WordPress Plugin

July 28, 2014 By Ritesh Sanap Leave a Comment

How to Disable Self Pingback or TrackBack

January 16, 2014 By Ritesh Sanap Leave a Comment

BlueStrap – WordPress Theme

January 1, 2014 By Ritesh Sanap 15 Comments

How to Create Multiple Excerpts in WordPress

December 24, 2013 By Ritesh Sanap Leave a Comment

How to Disable Auto Update in WordPress

November 21, 2013 By Ritesh Sanap Leave a Comment

How to Delete Feedbacks from JetPack Contact Form

November 19, 2013 By Ritesh Sanap 9 Comments

Recent Posts

  • HTTP2 Server Push for W3 Total Cache Minify plugin
  • How to show hidden files and folders in Mac OS X
  • How to Disable Emojis in WordPress
  • Canva – Online Photo Editor
  • JetPack Related posts and Sharing not working with NGINX

Archives

Recommends

  • DigitalOcean – Cloud Hosting
  • Dropbox – Cloud Storage
  • Elegant Themes – WordPress Themes
  • LastPass – Password Manager
  • Like us on Facebook
  • Follow on Twitter
  • +1 on Google
  • Subscribe via Email
  • RSS Feed

© 2021 Best 2 Know · All Rights Reserved · We ♥ DigitalOcean

loading Cancel
Post was not sent - check your email addresses!
Email check failed, please try again
Sorry, your blog cannot share posts by email.