Internet Direct (Indy) Version 9.0.2 Beta
TIdIMAP4SearchRec
Represents search criteria for the IMAP4 SEARCH command.

TIdIMAP4SearchRec = record
  Date: TDateTime;
  Size: Integer;
  Text: String;
  SearchKey: TIdIMAP4SearchKey;
  end;
Description
TIdIMAP4SearchRec is a record type that contains the IMAP4 search key and associated search values to be used as part of the IMAP4 SEARCH command. An array of TIdIMAP4SearchRec instances, or TIdIMAP4SearchRecArray, is used in TIdIMAP4.SearchMailBox to perform a search in the currently selected mailbox.

Date is a TDateTime member that represents a date value to be used in the search criteria.

Size is an Integer member that represents a size value to be used in the search criteria.

Text is a String member that represents a text value to be used in the search criteria.

SearchKey is a TIdIMAP4SearchKey member that indicates the defined search attribute to be used in the search criteria.