rob0210
Member
Posted 5 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?
Thanks
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');
olivier280602
Member
Posted 4 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 ?