Skip to:
Content
Pages
Categories
Search
Top
Bottom

Change email for notifications

  • @chakelan

    Participant

    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

    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

    @chakelan

    did this fix it for you?

    @robotpain

    Participant

    Looking for the same issue…any luck?

    @robkk

    Moderator

    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

    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

    @chakelan is the plugin causing your new problem??

    @chakelan

    Participant

    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

    @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