FolderPathMustHaveRegex

A regular expression to restrict the mail folders that are processed by the connector. The path of a folder must match the regular expression, otherwise the folder and its content is ignored.

Paths are relative to the folder specified by BaseMailboxFolder.

If a folder is excluded by this parameter, the connector still crawls its subfolders and checks their paths against the regular expression. To exclude a folder and all of its subfolders, use the parameters FolderPathCantHaveRegexToCrawl and FolderPathMustHaveRegexToCrawl.

Type: String (regular expression)
Default:  
Required: No
Configuration Section: TaskName or FetchTasks
Example: FolderPathMustHaveRegex=/Inbox.*
See Also: FolderPathCantHaveRegex