Change email address that registration emails are sent from (4 posts)

  1. JBagley
    Posted 7 years ago #

    I've searched around and can't seem to find a plugin or any idea how to get this working.

    When someone registers on your site, they are sent an email that has a from name of wordpress@domain.com - it also shows a friendly name of just "WordPress" in your email client.

    Is there anyway to change this?

  2. farmidable
    Posted 6 years ago #

    I wish I knew.

  3. ClaytonJames
    Posted 6 years ago #

  4. buddha trance
    Posted 6 years ago #

    Look for wp-includes/pluggable.php

    line 354
    $from_email = 'wordpress@' . $sitename;

    line 976
    $wp_email = 'wordpress@' . preg_replace('#^www\.#', '',

    change to somethingelse@

    Edit: Claytonjames was faster in responding and his plugin solution is better, so you don't have to change the core file at each update.

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.