SpamAnalyzer.Test
SpamAnalyzer.Test method
Analyses the message and returns the probability of the message being spam.
public double Test(MailMessage message)
Parameter | Type | Description |
---|---|---|
message | MailMessage | MailMessage 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
exception | condition |
---|---|
ArgumentNullException | If message is null. |
See Also
- class MailMessage
- class SpamAnalyzer
- namespace Aspose.Email.AntiSpam
- assembly Aspose.Email