Internet Direct (Indy) Version 9.0.1 Beta
TIdIMAP4.RetrieveOnSelect
Indicates data to be automatically retrieved from the mailbox when a mailbox is selected.

property RetrieveOnSelect: TIdRetrieveOnSelect;
Description
RetrieveOnSelect is a TIdRetrieveOnSelect property that indicates data to be automatically retrieved from the mailbox when an IMAP4 mailbox is selected. The default value for RetrieveOnSelect is rsDisabled as assigned in the Create constructor.

RetrieveOnSelect is used in SelectMailBox to determine how much data should be loaded in the TIdMailbox that represents the currently selected mailbox.

rsHeaders indicates that only message headers are loaded for messages in the mailbox.

rsMessages indicates that complete messages are loaded from the mailbox.