Want to Change Email Title (3 posts)

  1. rob0210
    Posted 8 years ago #

    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?


  2. Austin Matzko
    Posted 8 years ago #

    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');
  3. olivier280602
    Posted 7 years ago #

    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 ?

Topic Closed

This topic has been closed to new replies.

About this Topic