When viewers register to my site, they are sent an e-mail response. How do I edit that response to read 'mysite.com' instead of 'wordpress'?
When viewers register to my site, they are sent an e-mail response. How do I edit that response to read 'mysite.com' instead of 'wordpress'?
Yes I would like to know how to change this too please
Where do you see WordPress in the email? Are you using the self-hosted version of WordPress or WordPress.com?
Hi haochi - it is in the "from" on my email so it shows as if the registration came from wordpress and not from my blog - so the email looks like wordpress@myurl.co.uk
Okay, open /wp-includes/pluggable.php and find wordpress@ and replace wordpress with whatever you like, there are two of them.
[/wp-includes/pluggable.php]
Line 347 : $from_email = 'wordpress@' . $sitename;
Line 811 : $wp_email = 'wordpress@' . preg_replace('#^www\.#', '', strtolower($_SERVER['SERVER_NAME']));Thank you haochi - you are a star!
I did however, also change line 336
$from_name = 'wordpress';
As well so that the name appears as my website too.
You must log in to post.