filter_message
Description:
public int filter_message (MimeMessage? message, MessageInfo? info, string? uid, Folder? source, string? store_uid, string? original_store_uid, Cancellable? cancellable = null) throws Error
Filters a message based on rules defined in the FilterDriver object.
If the source folder (source
) and the uid (uid
) are provided, the filter will operate on the CamelFolder (which in
certain cases is more efficient than using the default append_message
function).
Parameters:
this |
CamelFilterDriver |
message |
message to filter or null |
info |
message info or null |
uid |
message uid or null |
source |
source folder or null |
store_uid |
UID of source store, or null |
original_store_uid |
UID of source store (pre-movemail), or null |
cancellable |
optional Cancellable object, or null |
Returns:
-1 if errors were encountered during filtering, otherwise returns 0. |