# FolderPathMustHaveRegexToCrawl

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.

When a folder is excluded by this parameter, the connector does not crawl its subfolders. Setting this parameter is therefore the most efficient way to exclude an entire folder tree.

Type: | String (regular expression)
Default: |
Required: | No
Configuration Section: | TaskName or FetchTasks
Example: | `FolderPathMustHaveRegexToCrawl=/Inbox`
See Also: | FolderPathCantHaveRegexToCrawl

_FT_HTML5_bannerTitle.htm