get_filter_driver


Description:

public virtual unowned FilterDriver get_filter_driver (string type, Folder? for_folder) throws Error

The optional for_folder can be used to determine which filters to add and which not.

Parameters:

this

a Session

type

the type of filter (eg, "incoming")

for_folder

an optional Folder, for which the filter driver will run, or null

Returns:

a filter driver, loaded with applicable rules