How to subscribe to an entry and get notified by email in case of new comments? I am thinking about a possibility to let members subscribe to a blog entry, and then get notified in case of new comments related to the respective entry. The comments are stored as entries in a Craft CMS channel.

My idea is to use the Like for Craft CMS plugin for the subscription to a blog entry. In a second step I would try to use the Postmaster for Craft CMS plugin to notify the subscribers by email. I hope that this will be possible using the Postmaster Developer API, but I am not sure.

What is your opinion regarding my idea? Do you know perhaps an easier approach.

I very much appreciate your help, thanks!
I really like the idea of using a simple plugin like Like to keep track of what entries users are interested in.

But instead of writing the code to integrate with Postmaster, I’d probably just use Craft’s API directly to send the mail after new entries are saved in your comments section.

The Like plugin and Craft API you need to look into:


entries.onSaveEntry event
getLikesByElementId()
sendEmailByKey()