# FolderPathCantHaveRegex

A regular expression to restrict the mail folders that are processed by the connector. If the path of a folder matches the regular expression, 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: | `FolderPathCantHaveRegex=/Inbox/Archive.*`
See Also: | FolderPathMustHaveRegex

_FT_HTML5_bannerTitle.htm