Jump to content

Fred (The Silva)

Members
  • Content Count

    2
  • Joined

  • Last visited

Everything posted by Fred (The Silva)

  1. Fred (The Silva)

    Readin Email with IMAP component

    Hi. How can I retrieve INBOX email messages in Indy 10.6.2, using "TIdIMAP4SearchRec" for *only* (filtering): > "UnSeen" messages > "Recent" messages > Messages that have the word 'Sales' on Subject Thanks,
  2. Fred (The Silva)

    Readin Email with IMAP component

    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?
×