Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum specific notification email addresses


  • joneuroscape
    Participant

    @joneuroscape

    Is there a way to configure a different email address for sending notifications for different forums?

    Even if the forum_id or topic_id was included in the bbp_subscription_mail_headers filter, then I could set this easily.

    $headers = apply_filters( ‘bbp_subscription_mail_headers’, $headers, $forum_id );

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

  • cbrendlinger
    Participant

    @cbrendlinger

    Did you find a solution to this problem? I would like to be able to do the same thing. I don’t want the notification emails to come from the current admin email and I think this would solve the problem. Thanks!


    Robin W
    Moderator

    @robin-w

    Untested, but try

    function rew_no_reply_per_forum ($reply_address) {
    	$forum_id = bbp_get_forum_id() ;
    	if $forum_id = 6 $reply_address =  'xxx@yyy.com' ;
    	if $forum_id = 7 $reply_address =  'abd@hdhd.com' ;
    	return $reply_address ;
    }
    
    add_filter ('bbp_get_do_not_reply_address', 'rew_no_reply_per_forum') ;
Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
Skip to toolbar