BuddyBoss Home – Web › Support Forums › General › BuddyPress (general issues) › No email notifications on forum/topic/reply subscriptions
Tagged: bbpress, bugs, email, Notifications
- This topic has 2 replies, 2 contibutors, and was last updated 9 years, 10 months ago by Milena.
-
Question
February 11, 2015 at 5:02 am #35803@milenaHi @michael, @tjchester
I know this must be an issue related to bbpress/hosting or wp- but I just need to check if you had any experience with this too.
The subscribers are not receiving emails when they subscribe to forums, topics or even check the ““Notify me of follow-up replies via email” under the topics in bbpress.I read a lot of threads on bbpress, but have not found a solution.
My email in settings is set to my site’s email , and I tested that wp sends out email with https://wordpress.org/plugins/check-email/, I received the emails, and it says its all good.This test email proves that your WordPress installation at “Mysite” can send emails. Sent: Wed, 11 Feb 2015 08:27:40 +0000
Subscribers also receive email notifications from buddypress- if somebody replies to their comment, or tags them in a post – or a bbpress thread.
Just no email at all if one is subscribed to the forum, topic or replies.
I am not using the mandrill service (wpMandrill), so this solution I think- does not apply to me https://bbpress.org/forums/topic/problem-with-the-default-do-not-reply-email-address/
and my server is bluehost.I also tested it without any plugins but bbpress, default theme and reinstalled bbpress. Still no email are being received.
I am getting emails from the forums and topics I subscribed to here ( buddyboss forum)
and it looks like this:from: BuddyBoss <[email protected]>
to: [email protected]I am also receiving emails from buddypress and bpress forums.. they look a bit different but still- “no reply”
buddypress looks like this
from: BuddyPress.org <[email protected]>
to: [email protected]bbpress looks like this
from: bbPress.org <[email protected]>
to: [email protected]The emails I and my subscribers receive from my site – dont have the “no reply” email address, just the name of the site and it’s email.
Maybe its is somehow connected?I would really appreciate your help.
Thank you
https://bbpress.org/forums/topic/subscription-email-notifications-not-working/#post-158151
https://bbpress.org/forums/topic/email-notifications-not-working-looking-for-help/Answers
February 11, 2015 at 12:13 pm #35815@alyssa-buddyboss
AlyssaParticipant@milena unfortunately I’m not certain of the particularities of sending emails through WordPress. I’ve moved this topic to the general forums in case someone has had similar issues.
February 11, 2015 at 3:22 pm #35828@milenaOk,
although I am not using wpmandrill I tried this patch
https://bbpress.trac.wordpress.org/ticket/2618replaced this line in bbpress/includes/common/functions.php
$do_not_reply = '<noreply@' . ltrim( get_home_url(), '^(http|https)://' ) . '>';
with this one
$email = 'noreply@' . str_replace( array( 'http://', 'https://', 'www.' ), '', get_home_url() );
I have no idea why I needed to do that, and what will I do with the future updates.
So far I tested the subscription to a topic- email works,
subscription to replies- works,
and subscription to the forum- emails are being received when new topics are posted in a forum (although these are being sent twice for some reason. The second time the text is green)I will keep testing it tonight.
thanks @tjchester
I have seen this comment by “buddyboss” on a thread related to this issue in bbpress forum, is that @michael?
So I thought you must have some experience with it. This solution did not work, but the other code i mentioned before, did. If anybody know why this is happening and what are bbpress plans on updating these files,
please let me know.The solution lies in : wp-content/plugins/bbpress/includes/common/functions.php
Currently it is this : $do_not_reply = ‘<noreply@’ . ltrim( get_home_url(), ‘^(http|https)://’ ) . ‘>’;
Needs to be: $do_not_reply = ‘<noreply@’ . str_replace(“www.”,””,ltrim( get_home_url(), ‘^(http|https)://’ )) . ‘>’;
I got this issue on my server w the latest bbPress update. I believe the most recent ticket will fix it in the next update, but this is what we did internally and it’s working.
- The question ‘No email notifications on forum/topic/reply subscriptions’ is closed to new replies.