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.

  1. i'm writing email client, , need know more reliable or recommended of 2 store everytime client connects , retrieves message list.

  2. 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

Popular posts from this blog

Perl - how to grep a block of text from a file -

delphi - How to remove all the grips on a coolbar if I have several coolbands? -

javascript - Animating array of divs; only the final element is modified -