Skip to:
Content
Pages
Categories
Search
Top
Bottom

Incorrect activation email sender

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

  • shanebp
    Moderator

    @shanebp

    Try this in your theme/functions.php

    add_action( 'bp_email', function( $email_type, $email_obj ) { $email_obj->set_from( "you@yoursite.com", "Your Site" ); }, 10, 2 );

    See codex page.


    notch-1
    Participant

    @notch-1

    Yes, it works, but why not with those plugins? I prefer not to alter the theme when possible…


    shanebp
    Moderator

    @shanebp

    BP recently added the BP Email API which uses its own methods.

    You can place the code in bp-custom.php rather than your theme/functions.php

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