How do you create email notifications for the streaming comment system?

The current system has text comments on fragments of content stored in the mySQL database, and I want to add email notifications.

Current ideas:

  • Sends messages to each user in the stream (regardless of depth)
  • Email only the owner of the comment you are replying to?
  • Email content owner for each new comment? Just root level comments?
  • Email only users who check "notify me of replies" below each piece of content containing any new comments related to the stream or not.

Thoughts?

+4
source share
2 answers

Finished with two settings that can be changed by the user:

Email me for any new root level comments [X] On [] Off Email me for any new comment replies [X] On [] Off 
0
source

I would develop a notification idea.

Users can choose which events they are interested in subscribing to and then specify how they want to receive email notifications. Thus, you can place users who do not want to receive notifications, as well as those who want to receive notifications by e-mail, digest e-mail, SMS, RSS, smoke signals, carrying pigeons and telegraph.

0
source

Source: https://habr.com/ru/post/1336557/


All Articles