umputun/remark42

Email response notifications tooltip for users without active subscription

Open

#745 opened on Jul 10, 2020

View on GitHub
 (35 comments) (1 reaction) (0 assignees)Go (5,500 stars) (432 forks)user submission
frontendhelp wanted

Description

I apologise if I have missed something obvious, but I have a query about the email notifications, specifically to message responses.

If user A logs in (email login) and writes a message, and user B (email login) replies to that message, shouldn't user A get an automated email about that response without having to subscribe separately? Then if user A responds to user B's response, then user B should get an email notification etc?

I know email is working (NOTIFY_EMAIL_ADMIN=true receives a notification of every post), however remark42 is not sending out any non-admin response emails.

I know there is the "Subscribe by email", however I believe that is something completely different (ie: a user wants notifications for all messages regardless who posted to what thread) and isn't even shown in the SIMPLE_VIEW layout.

I have the following relevant settings (including the SMTP settings of course):

AUTH_EMAIL_ENABLE=true
AUTH_EMAIL_FROM=<removed>
NOTIFY_EMAIL_FROM=<removed>
NOTIFY_TYPE=email
NOTIFY_EMAIL_ADMIN=true

When a response is posted I see in the debug logs Admin:false Blocked:false Verified:false EmailSubscription:false. I'm not sure what the Verified:false is as the email was verified with the code in order to post in the first place, and I'm not sure if the EmailSubscription:false relevant or not either.

Maybe I got this all wrong, and if one expects an email notification to responses to their own post then one must first manually subscribe, however that does not seem logical at all?

I'm running the latest (v1.6.0) from the official docker image.

Any help/pointers/explanation would be greatly appreciated, thank you!

Contributor guide