1Mail::SpamAssassin::PerUMssegrLeCaornnterri(b3u)ted PerlMaDiolc:u:mSepnatmaAtsisoanssin::PerMsgLearner(3)
2
3
4

NAME

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

SYNOPSIS

10         my $spamtest = new Mail::SpamAssassin ({
11           'rules_filename'      => '/etc/spamassassin.rules',
12           'userprefs_filename'  => $ENV{HOME}.'/.spamassassin/user_prefs'
13         });
14         my $mail = $spamtest->parse();
15
16         my $status = $spamtest->learn($mail,$id,$isspam,$forget);
17         my $didlearn = $status->did_learn();
18         $status->finish();
19

DESCRIPTION

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

METHODS

26       $didlearn = $status->did_learn()
27           Returns 1 if the message was learned from or forgotten
28           successfully.
29
30       $status->finish()
31           Finish with the object.
32

SEE ALSO

34       Mail::SpamAssassin(3) spamassassin(1)
35
36
37
38perl v5.34.0                      2021-07-2M3ail::SpamAssassin::PerMsgLearner(3)
Impressum