TIdMailBoxState is an enumerated type that represents the valid values usable for indicating the state of a TIdMailbox object instance. TIdMailBoxState can contain the following:
- msReadWrite - Messages, flags, and folders can be read from and written to in the currently selected mailbox.
- msReadOnly - Messages, flags, and folders can be read from the currently selected mailbox, but no updates or deletions are permitted.