Forums

How to edit email response? (6 posts)

  1. GLB
    Member
    Posted 4 months ago #

    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'?

  2. britchat
    Member
    Posted 1 month ago #

    Yes I would like to know how to change this too please

  3. haochi
    Member
    Posted 1 month ago #

    Where do you see WordPress in the email? Are you using the self-hosted version of WordPress or WordPress.com?

  4. britchat
    Member
    Posted 1 month ago #

    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

  5. haochi
    Member
    Posted 1 month ago #

    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']));
  6. britchat
    Member
    Posted 1 month ago #

    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.

Reply

You must log in to post.

About this Topic

Tags