GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  MAIL::SPAMASSASSIN::PERMSGLEARNER (3)

.ds Aq ’

NAME

Mail::SpamAssassin::PerMsgLearner - per-message status (spam or not-spam)

CONTENTS

SYNOPSIS



  my $spamtest = new Mail::SpamAssassin ({
    rules_filename      => /etc/spamassassin.rules,
    userprefs_filename  => $ENV{HOME}./.spamassassin/user_prefs
  });
  my $mail = $spamtest->parse();

  my $status = $spamtest->learn($mail,$id,$isspam,$forget);
  my $didlearn = $status->did_learn();
  $status->finish();



DESCRIPTION

The Mail::SpamAssassin learn() method returns an object of this class. This object encapsulates all the per-message state for the learning process.

METHODS

$didlearn = $status->did_learn() Returns 1 if the message was learned from or forgotten successfully.
$status->finish() Finish with the object.

SEE ALSO

Mail::SpamAssassin spamassassin
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 MAIL::SPAMASSASSIN::PERMSGLEARNER (3) 2015-04-28

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.