IMPORTANT: This version of Sitefinity CMS is out of support and the respective product documentation is no longer maintained and can be outdated. Use the version selector to view a supported product version.
Akismet service checks new comments for spam content. In addition, blog and forum administrators or moderators can perform further checks and mark a comment as spam or ham. Ham is content that is wrongfully marked as spam and needs to be published.
The ICommentUpdatingEvent interface fires every time an administrator edits the properties of a comment or changes its status. That is, when an administrator marks a comment as spam, the ICommentUpdatingEvent event is fired and the comments service sends a message to Akismet for missed spam or ham content. Akismet stores this information in its database for future monitoring of comments.
NOTE: You need to provide the Akismet API key you acquired when registering on Akismet's site.
You must use the handler for ICommentUpdatingEvent to mark content as spam or as ham. To do this, paste following code in the Global.asax file of your application:
As a result, Akismet has the latest spam and ham information in its database.
Back To Top
To submit feedback, please update your cookie settings and allow the usage of Functional cookies.
Your feedback about this content is important