TIdRetrieveOnSelect is an enumerated type that represents the type of message data that should be retrieved from a mailbox after successfully selecting a mailbox using the IMAP4 SELECT command. TIdRetrieveOnSelect can contain one of the following:
- rsDisabled - automatic retrieval is disabled.
- rsHeaders - client should retrieve message headers only.
- rsMessages - client should retrieve all message headers and bodies.