Analyses the message and returns the probability of the message being spam.
Namespace:
Aspose.Email.AntiSpam
Assembly:
Aspose.Email (in Aspose.Email.dll) Version: 20.2
Syntaxpublic double Test(
MailMessage message
)
Public Function Test (
message As MailMessage
) As Double
public:
double Test(
MailMessage^ message
)
member Test :
message : MailMessage -> float
Parameters
- message
- Type: Aspose.EmailMailMessage
MailMessage for test the probability of the message being spam.
Return Value
Type:
DoubleA 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
See Also