learn_not_junk


Description:

public abstract bool learn_not_junk (MimeMessage message, Cancellable? cancellable = null) throws Error

Instructs this to classify message as not junk.

If using an adaptive junk filtering algorithm, explicitly marking message as not junk will influence the classification of future messages.

If an error occurs, the function sets throws and returns false.

Parameters:

this

a JunkFilter

message

a MimeMessage

cancellable

optional Cancellable object, or null

Returns:

true if message was successfully classified