the issue is:
having
var
LEMailSearchInfo : array of TIdIMAP4SearchRec;
if I do:
SetLength(LEMailSearchInfo, 1);
LEMailSearchInfo[0].SearchKey := skUnseen;
it find a new (unseen) messages
If I do:
SetLength(LEMailSearchInfo, 2);
LEMailSearchInfo[0].SearchKey := skUnseen;
LEMailSearchInfo[1].SearchKey := skRecent;
it didn't find the messages
Where can I get a tutorial on how to use and combine all TIdIMAP4SearchKey enum options?