delphi - Indy IMAP - which property to use for identifying new email messages? -
using: delphi xe2, latest indy snapshot svn (10.6.0.4997)
in case of imap there 2 properties - uid , msgid can used uniquely identify message in mailbox.
i'm writing email client, , need know more reliable or recommended of 2 store everytime client connects , retrieves message list.
what sequence of steps needed check new emails? i'm looking correct sequence , set of indy idimap4 commands new emails.
tia.
unlike pop3/smtp, imap defines flags on emails. tidmessage.flags
property has mfrecent
, mfseen
flags available (amongst others). client can emails have mfrecent
set on them, update flags on server clear mfrecent
, set mfseen
needed.
Comments
Post a Comment