• Resolved Antipole

    (@antipole)


    I love this plugin! Thank you!

    I am using BuddyPress and bbPress and I have just discovered that notification of an @mention in a forum topic or reply gets emailed out to the user despite the plugin being active. I have not found any other email that gets through.

    I also have the ‘Log emails’ plugin and @mentions get logged there, but, curiously, no recipient is shown in the log entry even though the email is delivered to the correct user’s address. Maybe there is something odd about these emails that escapes blocking?

    PS I am testing this on my test site – hence blocking emails. This test site is synchronised with my live site by the SitePush plugin which is automatically enabling Stop Emails on the test site and disabling it on the live site.

    https://www.ads-software.com/plugins/stop-emails/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Sal Ferrarello

    (@salcode)

    @antipole

    Thank you for bringing this to my attention. I’ve been able to reproduce the problem.

    It looks like BuddyPress uses its own code for sending emails by default, which is why the emails are not being stopped.

    This line, which tells BuddyPress to use the default wp_mail() function, corrects the problem.

    add_filter( 'bp_email_use_wp_mail', '__return_true' );

    and I’ll be adding it to an updated version of the Stop Emails plugin, which I will push out within the next 24 hours.

    I’ve opened an issue for this on GitHub.

    Thanks for using the plugin and for helping me make it better.

    Thread Starter Antipole

    (@antipole)

    Fixed! Brilliant support.

    thank you, Tony

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘@mentions getting sent’ is closed to new replies.