MailBee.AntiSpam Namespace

MailBee.AntiSpam namespace provides BayesFilter class which allows applications to detect spam e-mails with self-learning Bayesian filter.

For DomainKeys and DKIM functionality (which is often used as a sort of anti-spam check), refer to MailBee.Security.DomainKeys class.

For reverse DNS functionality (which is also used as a sort of anti-spam check), refer to MailBee.SmtpMail.Smtp.GetPtrData method.

Classes
  ClassDescription
Public classCode exampleBayesFilter
Provides properties and methods for checking e-mails messages for spam probability and learning the filter from proven spam and non-spam messages.
Delegates
  DelegateDescription
Public delegateLockedDatabaseDelegate
Defines the signature (the parameters and the return value) of the application-defined method to be called when the Bayesian spam or non-spam database file appears to be locked.
Enumerations
  EnumerationDescription
Public enumerationBayesAlgorithm
Defines the available values for BayesFilter.Algorithm property to specify the algorithm which should be used to calculate spam score of e-mail messages.