deltachat::imap

Function should_ignore_folder

source
async fn should_ignore_folder(
    context: &Context,
    folder: &str,
    folder_meaning: FolderMeaning,
) -> Result<bool>
Expand description

Whether to ignore fetching messages from a folder.

This caters for the Config::OnlyFetchMvbox setting which means mails from folders not explicitly watched should not be fetched.