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
Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.