Skip to:
Content
Pages
Categories
Search
Top
Bottom

Emails showing WordPress

  • @kristianngve

    Participant

    When a user replies to one of my updates within the activity section, it shows as if it is coming from wordpress – this is not how I have configured it in the emails section of the dashpanel for buddypress as everything is like:

    [{{{site.name}}}] {{poster.name}} mentioned you in a status update

    And that works, but not for where it’s coming from: <wordpress@mydomain.com>

    Please see screenshot: https://prntscr.com/p9bx97

    How to set that for buddypress?

    Thank you

Viewing 2 replies - 1 through 2 (of 2 total)
  • @kristianngve

    Participant

    Another screenshot showing the site as a sender “wordpress”

    Screenshot Link: https://prntscr.com/p9bz89

    @kristianngve

    Participant

    AH I found the solution!

    Here for anyone else needing it:

    https://www.wpbeginner.com/plugins/how-to-change-sender-name-in-outgoing-wordpress-email/

    // Function to change email address
     
    function wpb_sender_email( $original_email_address ) {
        return 'tim.smith@example.com';
    }
     
    // Function to change sender name
    function wpb_sender_name( $original_email_from ) {
        return 'Tim Smith';
    }
     
    // Hooking up our functions to WordPress filters 
    add_filter( 'wp_mail_from', 'wpb_sender_email' );
    add_filter( 'wp_mail_from_name', 'wpb_sender_name' );
Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
Skip to toolbar