Skip to:
Content
Pages
Categories
Search
Top
Bottom

Change email for notifications


  • Chakelan
    Participant

    @chakelan

    Hello.

    Where do I change the email from which the notifications from the forums are sent?

    Thank you!

Viewing 8 replies - 1 through 8 (of 8 total)

  • Robkk
    Moderator

    @robkk

    i found this code but i dont know if it helps

    // wp_mail altered for bbPress (Mail sent from address)
    add_filter( 'wp_mail_from', 'email_sent_from' );
    function email_sent_from( $email )
    {
        return 'noreply@sitename';
    }

    Robin W
    Moderator

    @robin-w

    @chakelan

    did this fix it for you?


    robotpain
    Participant

    @robotpain

    Looking for the same issue…any luck?


    Robkk
    Moderator

    @robkk

    heres for sent from name

    // Change the Mail Sent from NAME
    add_filter( 'wp_mail_from_name', 'email_sent_from_name' );
    function email_sent_from_name( $name )
    {
        return 'YOUR COMPANY';
    }

    credit goes to jordan boston for both functions

    https://gist.github.com/jordanboston


    Chakelan
    Participant

    @chakelan

    Thank you for the help!

    I did fix the issue a bit after posting. I used this plugin.

    By the way, is it an easy way to fix what shows after “to:”? For me it now says “to:noreply@www.mydomain.com”, instead of to:”the user’s email-adress”. It isn’t really a big issue, but it would be cool to know how to change that.

    Peder


    Robkk
    Moderator

    @robkk

    @chakelan is the plugin causing your new problem??


    Chakelan
    Participant

    @chakelan

    I think so, but before I installed the plugin no emails were being sent (I don’t know why, but changing the from-address fixed it), so I am happy.


    Robkk
    Moderator

    @robkk

    @chakelan you probably need to go to wordpress.org ‘s support to see whats up with your wordpress mail functions or something to.

Viewing 8 replies - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.
Skip to toolbar