# BaseMailboxFolder

The folder in each mailbox from which the connector starts crawling. The connector retrieves messages from this folder and all subfolders that pass the restrictions defined by other configuration parameters, such as FolderCantHaveRegex and FolderMustHaveRegex.

The default value, `MsgFolderRoot`, is the folder that contains the Inbox, Drafts, Sent Items, Outbox, Calendar, Contacts, and other message folders. If you set this parameter to `Inbox`, only messages in the inbox or subfolders of the inbox are retrieved.

You can set this parameter to one of the following values:

`Calendar` `Contacts` `DeletedItems` `Drafts` `Inbox` `Journal` `Notes` `Outbox` `SentItems` `Tasks` `MsgFolderRoot` `PublicFoldersRoot` `Root` `JunkEmail` | `SearchFolders` `VoiceMail` `RecoverableItemsRoot` `RecoverableItemsDeletions` `RecoverableItemsVersions` `RecoverableItemsPurges` `ArchiveRoot` `ArchiveMsgFolderRoot` `ArchiveDeletedItems` `ArchiveRecoverableItemsRoot` `ArchiveRecoverableItemsDeletions` `ArchiveRecoverableItemsVersions` `ArchiveRecoverableItemsPurges`

For more information about these values, refer to the documentation for the `Microsoft.Exchange.WebServices.Data.WellKnownFolderName` enumeration.

To retrieve data from public folders, set the parameter `ProcessPublicFolders=True`.

Type: | String
Default: | `MsgFolderRoot`, unless SkypeForBusinessOnline is `TRUE` in which case the default is `Root`
Required: | No
Configuration Section: | TaskName or FetchTasks or Default
Example: | `BaseMailboxFolder=Inbox`
See Also: | FolderCantHaveRegex FolderMustHaveRegex ProcessPublicFolders

_FT_HTML5_bannerTitle.htm