EwsMessageFoldersFilter Property
Gets SearchFilter instance for reducing the list of the downloaded folders to mail-specific folders.

Namespace: MailBee.EwsMail
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 12.2.0 build 630 for .NET 4.5
public SearchFilter MessageFoldersFilter { get; }

Property Value

Type: SearchFilter
The filter preconfigured to return only mail-specific folders when used with DownloadFolders(FolderId, FolderView, SearchFilter, bool) method.

This is a helper property, you can construct SearchFilter objects manually if you need this.

MailBee considers a folder to be mail-specific is it has FolderClass equal to "IPF.Note" or does not have FolderClass at all. By default, DownloadFolders(bool) method and its overloads will list all the folders in the account. Using DownloadFolders(FolderId, FolderView, SearchFilter, bool) with SearchFilter set to MessageFoldersFilter lets you limit the output to mail-specific folders only.

See Also