BayesFilterAutoLearning Property
Gets or sets if the filter should automatically learn during scoring messages on the words with the sufficient spam/non-spam weight.

Namespace: MailBee.AntiSpam
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 12.5.0 build 687 for .NET 4.5
Syntax
public bool AutoLearning { get; set; }

Property Value

Type: Boolean
true if all the words with the sufficient spam/non-spam weight detected during scoring the message should be added to the Bayesian database; false if no change of the database should take place.
The default value is false.
Remarks
If AutoLearning is true, ScoreMessage(MailMessage) method will be able to update the database during its execution. To save changes, call SaveDatabase(String, String) method prior your application finishes execution.
Note Note
If you score multiple messages simultaneously in multi-threaded application, be aware that AutoLearning option makes ScoreMessage(MailMessage) method thread-unsafe.
See Also