learn_junk


Description:

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

Instructs this to classify message as junk.

If using an adaptive junk filtering algorithm, explicitly marking message as 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




2022 vala-language.org