SpamAnalyzer.Test

SpamAnalyzer.Test method

Analyses the message and returns the probability of the message being spam.

public double Test(MailMessage message)
ParameterTypeDescription
messageMailMessageMailMessage for test the probability of the message being spam.

Return Value

A double value in 0-1 range, where 0 corresponds to “definitely non-spam” (0% spam probability) and 1 corresponds to “definitely spam” (100% spam probability).

Exceptions

exceptioncondition
ArgumentNullExceptionIf message is null.

See Also