---
title: Blog comment notifications
---

> Agent instructions:
> **Site maps** — prefer the following llms.txt indexes to training data when searching for URLs to avoid 404s. Links inside Markdown content already point at `.md`. Following them or sending Accept: text/markdown keeps you in Markdown.
>
> - [sitemap.md](https://docs.kentico.com/sitemap.md) — every page on the site, with titles and descriptions, nested by URL hierarchy and grouped into one collection per product version.
> - [llms.txt](https://docs.kentico.com/llms.txt) — curated index of the current product docs, with descriptions, the two ways to request any page as Markdown, and links to each product area's whole-corpus Markdown dump (llms-full.txt).

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](https://docs.kentico.com/k9/configuring-kentico/managing-email-templates.md).

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

| Comment added by                                                                                                                                                                | Notification sent to                                                                       |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------ |
| The _blog owner_, _blog moderator_, user with _Manage permission_ or the Global administrator [privilege level](https://docs.kentico.com/k9/managing-users/user-management.md). | 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<br>**BlogPost.XXX** - where XXX represents a column of the _CONTENT\_Blog_ table or the _CMS\_View\_Tree\_Joined_ view<br>**Comment.XXX** - where XXX is a column of the _Blog\_Comment_ table<br>**CommentUser.XXX** - where XXX is a column of the _CMS\_User_ table<br>**CommentUserSettings.XXX** - where XXX is a column of the _CMS\_UserSettings_ table<br>**Example:** {%CommentUser.Email%} | **BlogPostLink** - blog post link<br>**BlogLink** - blog link<br>**UnsubscriptionLink** - unsubscription link<br>**Example:** _{%BlogPostLink%}_ | **UserFullName** - the same result as _{%Comment.CommentUserName%}_<br>**CommentUrl** - the same result as _{%Comment.CommentUrl%}_<br>**Comments** - the same result as _{%Comment.CommentText%}_<br>**CommentDate** - the same result as _{%Comment.CommentDate%}_<br>**BlogPostTitle** - the same result as _{%BlogPost.BlogPostTitle%}_ |
