Support » Plugin: Email Log » Buddypress emails do not appear in the log

  • Resolved andreu


    It seems that plugin is not tracking Buddypress emails. Is that possible? Any way to add them to the log?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Sudar Muthu


    Hello @andreu

    Ideally even emails from Buddypress should be logged.

    Is there any specific email that is not getting logged or all emails from Buddypress are not getting logged?

    I see that no emails from BuddyPress are tracked. It’s strange because WooCommerce ones are tracked, for example.
    Any idea?

    Plugin Author Sudar Muthu


    Hello @andreu

    We checked the Buddypress plugin’s source code and found that by default they are not using WordPress core’s wp_mail function to send email.

    Here is the relevant line in the Buddypress plugin’s source code where that switch happens –

    Our plugin depends on the filters that are called inside the wp_mail function to log the email. If that function is not called, then it is not possible for us to log the email.

    You can add the following line in either your themes function.php file or as a seperate plugin to force Buddypress to use WordPress core’s wp_mail function

    add_filter( 'bp_email_use_wp_mail', '__return_true' )

    Meanwhile we are also trying to explore ways by which we can add BuddyPress support by using any of the existing BuddyPress specific hooks. You can keep track of our progress at

    Hi Sudar,

    Thanks for taking a look at this.

    I will use this filter for now, I hope you find a way to integrate BP’s emails into your plugin too 🙂

    Thank you for the great work on this plugin!

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