Blog comment notifications

With Kentico, you can notify various users (blog owners, blog moderators, subscribers) about new blog comments by having the system automatically send them notification emails.

Who can be notified about blog comments

When a new blog comment is added, notification emails can be sent to:

  • Blog owners - emails are based on the Blogs - Notification to blog owner email template
  • Blog moderators - emails are based on the Blogs - Notification to blog moderators email template
  • Subscribers - emails are based on the Blogs - Notification to blog post subscribers email template

Learn more about managing email templates.

The text below explains to whom notification emails are sent under specific conditions:

Comment added by

Notification sent to

The blog owner, blog moderator, or user with Manage permission or the Global administrator privilege level.

The blog owner (if their email address is set in blog properties) and the subscribers.

Anybody else and the comment is Not Approved.

The blog owner (if their email address is set in blog properties) and the moderators.

Anybody else and the comment is Approved.

The blog owner (if their email address is set in blog properties) and the subscribers.

Comment edit

Notification sent to

Switched from Not Approved to Approved.

The subscribers.

Other comment changes.

No notification is sent.

Using macros in blog comment notifications

You can use the following macros in the blog comment notification email templates:

Data macros

Link macros

Other macros

  • Blog.XXX - where XXX represents a column of the CONTENT_Blog table or the CMS_View_Tree_Joined view
  • BlogPost.XXX - where XXX represents a column of the CONTENT_Blog table or the CMS_View_Tree_Joined view
  • Comment.XXX - where XXX is a column of the Blog_Comment table
  • CommentUser.XXX - where XXX is a column of the CMS_User table
  • CommentUserSettings.XXX - where XXX is a column of the CMS_UserSettings table

Example: {%CommentUser.Email%}

  • BlogPostLink - blog post link
  • BlogLink - blog link
  • UnsubscriptionLink - unsubscription link

Example: {%BlogPostLink%}

  • UserFullName - the same result as {%Comment.CommentUserName%}
  • CommentUrl - the same result as {%Comment.CommentUrl%}
  • Comments - the same result as {%Comment.CommentText%}
  • CommentDate - the same result as {%Comment.CommentDate%}
  • BlogPostTitle - the same result as {%BlogPost.BlogPostTitle%}