Mail::SpamAssassin::PeUserLContributed PMail::SpamAssassin::PerMsgLearner(3pm)
NAME
Mail::SpamAssassin::PerMsgLearner - per-message status (spam or
not-spam)
SYNOPSIS
my $spamtest = Mail::SpamAssassin->new({
'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(3) spamassassin(1)
perl v5.36.0 2024-0Mail::SpamAssassin::PerMsgLearner(3pm)
Czas wygenerowania: 0.00036 sek.
Created with the man page lookup class by Andrew Collington.
Based on a C man page viewer by Vadim Pavlov
Unicode soft-hyphen fix (as used by RedHat) by Dan Edwards
Some optimisations by Eli Argon
Caching idea and code contribution by James Richardson
Copyright © 2003-2025 Linux.pl
Hosted by Hosting Linux.pl