• 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’?

Viewing 5 replies - 1 through 5 (of 5 total)
  • 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 [email protected]

    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.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘How to edit email response?’ is closed to new replies.