Mail::SpamAssassin::SimpleClient

Mail::SpamAssassin::SimpleClient is an easy client to SpamAssassin's spamd.
Download

Mail::SpamAssassin::SimpleClient Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Ricardo Signes
  • Publisher web site:
  • http://search.cpan.org/~rjbs/

Mail::SpamAssassin::SimpleClient Tags


Mail::SpamAssassin::SimpleClient Description

Mail::SpamAssassin::SimpleClient is an easy client to SpamAssassin's spamd. Mail::SpamAssassin::SimpleClient is an easy client to SpamAssassin's spamd.METHODSnew my $client = Mail::SpamAssassin::SimpleClient->new(%arg);This method returns a new SimpleClient object.Valid arguments are: host - the host on which to look for spamd (default: localhost) port - the port on which to look for spamd (default: 783) username - username to pass to spamd timeout - how long (in seconds) to allow SpamAssassin to consider the message before an exception is raised; default 120; set to 0 to wait forevercheck my $result = $spamc->check($message);This method passes a message to SpamAssassin to be spam-checked. It returns a Mail::SpamAssassin::SimpleClient::Result object. If SpamAssassin does not respond within the SimpleClient's timeout period, an exception is raised. Requirements: · Perl


Mail::SpamAssassin::SimpleClient Related Software