Mail::SpamAssassin::SimpleClient::Result - the results of checking a message
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.)
This method returns a true or false value indicating whether the checked message was found to be spam.
These methods return the message's score and the score that would be needed to classify the message as spam.
This method returns the version of SpamAssassin that checked the message.
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.
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.
my %descriptions = $result->test_descriptions;
This method returns a list of name/value pairs. The values are the full description names for any tests run. Since non-spam reports do not elaborate on individual tests run, the description for each test on a non-spam result is undefined.
This method returns the email object included in the response.
Ricardo Signes <email@example.com>
This software is copyright (c) 2010 by Ricardo Signes.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.