Problem with getting message count using JavaMail API
257 views
Skip to first unread message
Navi
unread,
Aug 26, 2008, 9:55:49 AM8/26/08
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Gmail-Users
I am trying to read messages from INBOX using JavaMail API.
Using pop protocal, folder.getMessageCount() is returning 308 but I
have thousands of messages in my INBOX.But this problem is only with
gmail server and as the same works fine with other mail server.
Also I had checked pop settings its enabled for all mails.
Any idea about this behavior of gmail?
bkennelly
unread,
Aug 26, 2008, 12:10:40 PM8/26/08
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Gmail-Users
Gmail's POP server only makes the messages available in batches of a
few hundred at a time. Try IMAP, if JavaMail supports it.