login about faq

Hi guys, here is my question:

I am using the method GetUidls() in C# to retrieve all emails in my gmail account, but this method return the same number UIDLs, even if I recieve a new email it's still returns the same UIDLs.

How can I do to recieve the new UIDLs ??

Thanks !

asked Aug 21 '13 at 12:28

Breno's gravatar image


When a POP3 client begins a session, it gets a snapshot of the UIDLs in the Inbox. This is defined by the POP3 protocol specification itself. During the session, the UIDL command (sent by the client to the server) will always return the full set of UIDLs that existed in the Inbox at the time the session was begun, even if new emails have arrived since. The only way to see the new UIDLs is to end the session and begin a new one.

Also, many people get confused with GMAIL. They compare what is seen in the GMail interactive web interface vs. what UIDLs actually exist in the POP3 INBOX. See this for more information: http://www.cknotes.com/?p=218 Also see this: http://www.cknotes.com/?p=148

Finally, one can always examine the Pop3SessionLog property after fetching the UIDLs. It will show the UIDL command and the full server response that lists all the UIDLs in the INBOX. This is definitively the correct set of UIDLs -- it is what exists in the INBOX at the start of the session, and there can be no debate about it.


answered Aug 22 '13 at 13:55

chilkat's gravatar image

chilkat ♦♦

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: Aug 21 '13 at 12:28

Seen: 1,910 times

Last updated: Aug 22 '13 at 13:55

powered by OSQA