{"action":"created","issue":{"url":"https://api.github.com/repos/salcode/stop-emails/issues/7","repository_url":"https://api.github.com/repos/salcode/stop-emails","labels_url":"https://api.github.com/repos/salcode/stop-emails/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/salcode/stop-emails/issues/7/comments","events_url":"https://api.github.com/repos/salcode/stop-emails/issues/7/events","html_url":"https://github.com/salcode/stop-emails/issues/7","id":151653041,"number":7,"title":"BuddyPress mentions are not being stopped","user":{"login":"salcode","id":5194588,"avatar_url":"https://avatars.githubusercontent.com/u/5194588?v=3","gravatar_id":"","url":"https://api.github.com/users/salcode","html_url":"https://github.com/salcode","followers_url":"https://api.github.com/users/salcode/followers","following_url":"https://api.github.com/users/salcode/following{/other_user}","gists_url":"https://api.github.com/users/salcode/gists{/gist_id}","starred_url":"https://api.github.com/users/salcode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/salcode/subscriptions","organizations_url":"https://api.github.com/users/salcode/orgs","repos_url":"https://api.github.com/users/salcode/repos","events_url":"https://api.github.com/users/salcode/events{/privacy}","received_events_url":"https://api.github.com/users/salcode/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-28T14:17:20Z","updated_at":"2016-04-28T14:29:56Z","closed_at":null,"body":"WordPress user __antipole__ wrote:\r\n\r\n> I love this plugin! Thank you!\r\n\r\n> 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.\r\n\r\n> 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?\r\n\r\n> 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.\r\n\r\nhttps://wordpress.org/support/topic/mentions-getting-sent?replies=1"},"comment":{"url":"https://api.github.com/repos/salcode/stop-emails/issues/comments/215444483","html_url":"https://github.com/salcode/stop-emails/issues/7#issuecomment-215444483","issue_url":"https://api.github.com/repos/salcode/stop-emails/issues/7","id":215444483,"user":{"login":"salcode","id":5194588,"avatar_url":"https://avatars.githubusercontent.com/u/5194588?v=3","gravatar_id":"","url":"https://api.github.com/users/salcode","html_url":"https://github.com/salcode","followers_url":"https://api.github.com/users/salcode/followers","following_url":"https://api.github.com/users/salcode/following{/other_user}","gists_url":"https://api.github.com/users/salcode/gists{/gist_id}","starred_url":"https://api.github.com/users/salcode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/salcode/subscriptions","organizations_url":"https://api.github.com/users/salcode/orgs","repos_url":"https://api.github.com/users/salcode/repos","events_url":"https://api.github.com/users/salcode/events{/privacy}","received_events_url":"https://api.github.com/users/salcode/received_events","type":"User","site_admin":false},"created_at":"2016-04-28T14:29:56Z","updated_at":"2016-04-28T14:29:56Z","body":"It looks like BuddyPress uses its own function for sending email [bp_send_email()](https://github.com/buddypress/BuddyPress/blob/master/src/bp-core/bp-core-functions.php#L2886).  It does check to see if `wp_mail()` has been redefined from the original but that is not the technique we're using in this plugin (see #8)."}}