WordPress.org

Support

Support » Plugins and Hacks » Want to Change Email Title

Want to Change Email Title

  • Hi all, I want to do what would seem to me to be a simple task but cant for the life of me figure out where to change it.

    Basically all I want to do is when a user requests a lost password call for example, I want the title of the emails they receive to be the title of my blog, not ‘WordPress’

    Anyone know how or where to change this?

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Do you mean that you want to change the from name? You can do this by using the 'wp_mail_from_name' filter.

    Something like the following would make the name of your blog the from name:

    function make_blog_name_from_name($name = '') {
         return get_bloginfo('name');
    }
    add_filter('wp_mail_from_name', 'make_blog_name_from_name');

    Thanks for this, it helped me too!

    The sender name changed, but the from address is still wordpress@mydomain.com

    Is there a way to change that too ?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Want to Change Email Title’ is closed to new replies.