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
Copyright © 2023 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.
Progress, Telerik, Ipswitch, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.
Powered by Progress Sitefinity