NAME

SpamMonkey::Result - Result object for spam test

SYNOPSIS

if ($result->is_spam) {
    $result->rewrite;
    print $result->email->as_string;
}

DESCRIPTION

This class provides utility methods for dealing with the results of a SpamMonkey test.

METHODS

is_spam

Returns true if the message scores more than the required threshold.

hits

Returns a list of the names of rules that matched.

describe_hits

Returns a list of the descriptions of rules that matched.

score

Returns the score for this test.