YuanKJ- / javamail-android

Automatically exported from code.google.com/p/javamail-android
0 stars 0 forks source link

Get Messages via POP #2

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.Connect to pop.gmail.com (110)
2.Get my store use POP3SSLStore
3.Get Inbox via store.getFolder("INBOX");
4.Get all messages via folder.getMessages();

What is the expected output? 
   I check my Inbox via google.mail, it have 1246 messages so
    - The size of the folder (number of messages) should be return a 1246
or nearly. It means that: messages.length ~ 1246.

What do you see instead?
   The number of messages be return is 250, even i try for another account,
it still return a number less than the correct number (let's 350/830).

What version of the product are you using? On what operating system?
  - I use Android 1.5 (Google API)
  - Tested on Ubuntu OS

Please provide any additional information below.

Original issue reported on code.google.com by th.hie...@gmail.com on 23 Dec 2009 at 8:38

GoogleCodeExporter commented 8 years ago
can you test your code with a sun jvm + desktop version of javamail ?

Original comment by thiel.al...@gmail.com on 28 Dec 2009 at 1:05

GoogleCodeExporter commented 8 years ago
Might this be the case:

Q: Why don't I see all my messages when accessing Gmail with POP3? 
A: Gmail has settings that control which of your messages are available via the 
POP3 protocol. See the Gmail settings page to change the configuration of your 
Gmail account.

(See: http://www.oracle.com/technetwork/java/faq-135477.html#gmailsettings)

Original comment by lem...@gmail.com on 8 Sep 2012 at 6:24