Why not adopt me?
NAME
Mail::SpamAssassin::SimpleClient::Result - the results of checking a message
VERSION
version 0.001
$Id: /my/pep/Mail-SpamAssassin-SimpleClient/trunk/lib/Mail/SpamAssassin/SimpleClient/Result.pm 2557 2007-03-22T03:04:17.741884Z rjbs $
METHODS
new
my $result = Mail::SpamAssassin::SimpleClient::Result->new(\%arg);
This method returns a new Result object. Don't call this method unless you are Mail::SpamAssassin::SimpleClient. (nota bene, you are not.)
is_spam
This method returns a true or false value indicating whether the checked message was found to be spam.
score
threshold
These methods return the message's score and the score that would be needed to classify the message as spam.
sa_version
This method returns the version of SpamAssassin that checked the message.
tests
my @test_names = $result->tests;
This method returns a list of tests against which the message matched. Note that not every test is an indicator of spamminess. Some indicate hamminess.
test_scores
my %test_score = $result->test_scores;
This method returns a list of name/value pairs. The values are the number of points (positive or negative) for which the test counts. Since non-spam reports do not elaborate on the number of points per test, the value for each test on a non-spam result is undefined.
AUTHOR
Ricardo SIGNES, <rjbs@cpan.org>
BUGS
Please report any bugs or feature requests through the web interface at http://rt.cpan.org. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
COPYRIGHT
Copyright 2007 Ricardo SIGNES, all rights reserved.
This program is free software; you may redistribute it and/or modify it under the same terms as Perl itself.