Hello!

I have a small problem related to "How does Gpop works?". So the problem is, that STAT-command shows incorrect information about messages amount in my mailbox(I have about 756 messages, STAT-command shows 356). I've read there: http://groups.google.com/group/Gmail...57310cd5b11fc9 , that gmail saves messages in batches and I need to reconnect for getting a new one. And here is the problem:
- Program connects the first time;
- It retrieves all messages;
- Connection is closed by QUIT-command;
- I tried to reconnect by sending once again the empty message. But server, simply, doesn't response me at all.
Message sequence, what I used:
Qt Code:
  1. <connection to the server> //Empty string
  2. USER username
  3. PASS pass
  4. STAT
  5. LIST
  6. RETR
  7. QUIT
  8. <connection to the server> //Here server doesn't response.
To copy to clipboard, switch view to plain text mode 



In program I use a loop for getting it work.

Where can be a problem?

Thank you for answers beforehand.