Buddypress Emails Hotmail Spam

  • Participant
    Level: Initiated
    Posts: 15
    Kerem Erdal on #17923


    My buddypress notifications mail drops to spam box in hotmail. In other mail providers, there is no problem. In order to fix that, i investigated problem and found an advice. Then, i deleted the following code from bp-core/bp-core-filters.php. Now, it works unstable. When I comment as anonymous(I am using your Buddypress Anonymous Activity plugin), buddypress sends emails to direct inbox. However, when I comment as with my real nickname, buddypress sends email to junk email. How can I fix that problem? Is deleting this code right way to achive this?

    Deleted Code:

    `// Add ‘List-Unsubscribe’ header if applicable.
    if ( ! empty( $tokens[‘unsubscribe’] ) && $tokens[‘unsubscribe’] !== wp_login_url() ) {
    $user = get_user_by( ’email’, $tokens[‘recipient.email’] );

    $link = bp_email_get_unsubscribe_link( array(
    ‘user_id’ => $user->ID,
    ‘notification_type’ => $email->get( ‘type’ ),
    ) );

    if ( ! empty( $link ) ) {
    $headers[‘List-Unsubscribe’] = sprintf( ‘<%s>’, esc_url_raw( $link ) );


  • Keymaster
    (BuddyDev Team)
    Posts: 24338
    Brajesh Singh on #17932

    Hi Kerem,
    I am sorry but BuddyPress email had issues with Hotmail in past. I have seen this issue and seen tyhe solution using “List-Unsubscribe” on BP trac.

    I am sorry but I don’t have a solution for this. All I can say it will be most probably a generic issue with BuddyPress email and not specific to Anonymous activity.

    You may want to keep an eye here


You must be logged in to reply to this topic.

This topic is: not resolved