How to determine the UID of a message in IMAP
Posted
by Emanuel
on Stack Overflow
See other posts from Stack Overflow
or by Emanuel
Published on 2010-03-30T07:41:44Z
Indexed on
2010/03/30
19:33 UTC
Read the original article
Hit count: 474
I'm working in a mail client project using C#. I'm using both the POP and IMAP protocol to communicate with the server. The problem is than I can not figure out why when I want to get the UID for a message the result from the POP server and the IMAP server are different.
POP
C: UIDL 1
S: +OK 1 UID2-1269789826
and
IMAP
C: $ FETCH 1 (UID)
S: * 1 FETCH (UID 2)
S: $ OK Fetch completed.
Why the result for obtaining the UID is so different? In IMAP is another function for this? Any help is welcome. Thanks.
© Stack Overflow or respective owner