Camel.FolderInfoFlags
Description: Reference for Camel.FolderInfoFlags

### Enumeration

# CamelFolderInfoFlags

#### Declaration

    flags Camel.FolderInfoFlags

#### Description [src]

These flags are abstractions. It’s up to the CamelProvider to give them suitable interpretations. Use #CAMEL_FOLDER_TYPE_MASK to isolate the folder’s type.

#### Members

`CAMEL_FOLDER_NOSELECT`

  The folder cannot contain messages.

  - Value: `1`
  - Available since: 1.2
`CAMEL_FOLDER_NOINFERIORS`

  The folder cannot have child folders.

  - Value: `2`
  - Available since: 1.2
`CAMEL_FOLDER_CHILDREN`

  The folder has children (not yet fully implemented).

  - Value: `4`
  - Available since: 1.2
`CAMEL_FOLDER_NOCHILDREN`

  The folder does not have children (not yet fully implemented).

  - Value: `8`
  - Available since: 1.2
`CAMEL_FOLDER_SUBSCRIBED`

  The folder is subscribed.

  - Value: `16`
  - Available since: 1.2
`CAMEL_FOLDER_VIRTUAL`

  The folder is virtual. Messages cannot be copied or moved to virtual folders since they are only queries of other folders.

  - Value: `32`
  - Available since: 1.2
`CAMEL_FOLDER_SYSTEM`

  The folder is a built-in “system” folder. System folders cannot be renamed or deleted.

  - Value: `64`
  - Available since: 1.2
`CAMEL_FOLDER_VTRASH`

  The folder is a virtual trash folder. It cannot be copied to, and can only be moved to if in an existing folder.

  - Value: `128`
  - Available since: 1.2
`CAMEL_FOLDER_SHARED_TO_ME`

  A folder being shared by someone else.

  - Value: `256`
  - Available since: 1.2
`CAMEL_FOLDER_SHARED_BY_ME`

  A folder being shared by the user.

  - Value: `512`
  - Available since: 1.2
`CAMEL_FOLDER_TYPE_NORMAL`

  The folder is a normal folder.

  - Value: `0`
  - Available since: 1.2
`CAMEL_FOLDER_TYPE_INBOX`

  The folder is an inbox folder.

  - Value: `1024`
  - Available since: 1.2
`CAMEL_FOLDER_TYPE_OUTBOX`

  The folder is an outbox folder.

  - Value: `2048`
  - Available since: 1.2
`CAMEL_FOLDER_TYPE_TRASH`

  The folder shows deleted messages.

  - Value: `3072`
  - Available since: 1.2
`CAMEL_FOLDER_TYPE_JUNK`

  The folder shows junk messages.

  - Value: `4096`
  - Available since: 1.2
`CAMEL_FOLDER_TYPE_SENT`

  The folder shows sent messages.

  - Value: `5120`
  - Available since: 1.2
`CAMEL_FOLDER_TYPE_CONTACTS`

  The folder contains contacts, instead of mail messages.

  - Value: `6144`
  - Available since: 1.2
`CAMEL_FOLDER_TYPE_EVENTS`

  The folder contains calendar events, instead of mail messages.

  - Value: `7168`
  - Available since: 1.2
`CAMEL_FOLDER_TYPE_MEMOS`

  The folder contains memos, instead of mail messages.

  - Value: `8192`
  - Available since: 1.2
`CAMEL_FOLDER_TYPE_TASKS`

  The folder contains tasks, instead of mail messages.

  - Value: `9216`
  - Available since: 1.2
`CAMEL_FOLDER_TYPE_ALL`

  This folder contains all the messages. Used by RFC 6154.

  - Value: `10240`
  - Available since: 1.2
`CAMEL_FOLDER_TYPE_ARCHIVE`

  This folder contains archived messages. Used by RFC 6154.

  - Value: `11264`
  - Available since: 1.2
`CAMEL_FOLDER_TYPE_DRAFTS`

  This folder contains drafts. Used by RFC 6154.

  - Value: `12288`
  - Available since: 1.2
`CAMEL_FOLDER_READONLY`

  The folder is read only.

  - Value: `65536`
  - Available since: 1.2
`CAMEL_FOLDER_WRITEONLY`

  The folder is write only.

  - Value: `131072`
  - Available since: 1.2
`CAMEL_FOLDER_FLAGGED`

  This folder contains flagged messages. Some clients call this “starred”. Used by RFC 6154.

  - Value: `262144`
  - Available since: 1.2
`CAMEL_FOLDER_FLAGS_LAST`

  The last define bit of the flags. The `CamelProvider` can use this and upper bits to store its own flags.

  - Value: `16777216`
  - Available since: 1.2