I am looking for a unique identifier for IMAP server.
I tried the following functions GetImapUid() or GetHeaderField("ckx-imap-uid") but she returns unique id for a Mailbox.
Is it a way to uniquely identify an email IMAP Server ? (like UIDL on POP server)
asked Sep 29 '16 at 08:00
The RFC 3501 specification says:
The problem is that the UIDVALIDITY values of two mailboxes could be the same, although it is unlikely. In summary, given that UID values can be the same, and given that UIDVALIDITY values can be the same, a unique key would need to be composed of UID + UIDVALIDITY + mailbox name.
(The Imap.UidValidity property contains the UIDVALIDITY of the currently selected mailbox.)
answered Sep 29 '16 at 08:06