Email Subscription to content updates in Kentico 12 MVC

Yowaraj Chhetri asked on March 18, 2020 00:27

Hi,

Can someone shower light upon me on how to proceed with email subscription feature on CMS content (page-type) create/update. Any public users can subscribe to content updates. The project is in Kentico 12 MVC. We cant use Newsletter subscription because the content is a custom page type and the users are not registered but public users.

Thanks in advance

Recent Answers


Dmitry Bastron answered on March 18, 2020 11:59

Hi Yowaraj,

You are right, Newsletter module doesn't seem to be a good fit. I'm afraid you would need to develop it yourself with a help of Kentico APIs.

I guess you would need the following: - module custom class or custom table to store subscriptions (either by contact ID or email) - custom subscribe/unsubscribe logic - Kentico email template - global event handler to send out emails with this template on document update

0 votesVote for this answer Mark as a Correct answer

Yowaraj Chhetri answered on March 19, 2020 02:28

Hi Dmitry,

Thank you for the response. I was thinking the same. custom table "subscription" with EmailID, NodeID/Aliasepath, Datetime. And a global event handler for particular content updates, a service to check if that updated page NodeID is subscribed by anyone. If so, grab all the email IDs and send an email to them using a template.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.