The MU forums have moved to WordPress.org

Email from address issue (5 posts)

  1. mshao
    Member
    Posted 17 years ago #

    I noticed that the from address of the blog signup emails is "support@www.mydomain.com". It should be without "www". I am trying to find out which PHP file controls this.

    Anyone any ideas/

    Thanks

  2. andrea_r
    Moderator
    Posted 17 years ago #

    When you set everythign up, did you type in the WWW? Most likely, that's stored in the db somewhere.

  3. drmike
    Member
    Posted 17 years ago #

    It's actually being generated from the assigned name of the server that you're sitting on. It's being done in the /wp-includes/wpmu-functions.php file. Do a search for 'support@' . $_SERVER[ 'SERVER_NAME' ]' without the quotes and you can hard code this to what you want.

    Hope this helps,
    -drmike

  4. mshao
    Member
    Posted 17 years ago #

    drmike,
    I found 4 places in this file and hard coded the from address. Thanks so much for your advise.

  5. drmike
    Member
    Posted 17 years ago #

    Not a problem. :)

About this Topic