Email chat alert for private messages
-
Hi, in my administrator profile settings I have the following settings
- When you receive a chat message
- When you receive a group chat message
with option to be notified by notification and email but when someone send a message in the private chat system, I get no email alert.
How can I fix this?
Subscribe to Digest is deactivated (off)Thanks
-
@ocisp87 just to double check, this is in the user settings of your admin user, not the default user settings in the ACP right?
Do other emails work? Does a test email from the ACP email settings page work? Is the admin user set up with a valid email?
-
@PitaJ thank you for the answer!
this is in the user settings of your admin user
Yes, is the settings of my admin user.
Tested also in a normal user account.. but in admin backend I see there is a delay of 60 seconds for chat message so maybe for test with an immediate email I should set this to 0 or can stay set as 60 seconds? The first chat message should be notified immediately, I think. The delay option should be not an issue.An user has write to me a message on chat and when I loaded the forum I discovered it so was not notified by email.
not the default user settings in the ACP right
Where I can check this default settings? What path I have to follow for check in admin side?
Do other emails work? Does a test email from the ACP email settings page work? Is the admin user set up with a valid email?
I get correctly every other email notification like: registration approval, post in the mod queue, new topics, new replies. I only never get anymore chat alert message by email.
Also testing email with one of the present template, in the back end works.
My admin account has a valid email address, is not a real email address but a forward but all works: usually I get emails. -
I've not patched and tested just yet but I am assuming this may be related upon a quick glance? @baris
https://github.com/NodeBB/NodeBB/commit/c1ec20470b976f890d9d7e1054aa82b50af95a22If so, will this be backported to the v2.x branch as we are too finding users unable to receive chat email notifications?
-
@Jordan-Taylor That code is already in 2.x. https://github.com/NodeBB/NodeBB/blob/master/src/messaging/notifications.js#L50-L56
What you are seeing might be related to this code, https://github.com/NodeBB/NodeBB/blob/master/src/messaging/notifications.js#L60-L64. If the user receiving the chat was online(performed an action in the past 30mins) then they won't get the chat notification.
-
Ah, I clearly didn't look hard enough! (was in between tasks!)
Thanks for confirming.