Results 1 to 6 of 6
- 03-06-2011, 09:59 AM #1
Member
- Join Date
- Mar 2011
- Posts
- 4
- Rep Power
- 0
javamail pop3 getmessagecount gives lower number
Hi All
Since there is no javamail in other apis im posting here.
I am using javamail to connect to my gmail account via pop3s when i open a folder (INBOX) and get messages or getMessageCount I only get 471 messages despite having 2016 email.
imap works fine but pop3 brings too few messages.
Im a bit clueless where to begin looking since code is all correct and there are no errors.
GX
- 03-07-2011, 03:02 AM #2
Senior Member
- Join Date
- Feb 2011
- Location
- Georgia, USA
- Posts
- 122
- Rep Power
- 0
Are sure it doesn't have to do with your gmail settings? When you enable pop in gmail settings there is a setting that says something to the effect of 'enable pop for mail after someDate'.
- 03-07-2011, 04:40 AM #3
Member
- Join Date
- Mar 2011
- Posts
- 4
- Rep Power
- 0
Thanks for your reply yellowledbet.
Im quite sure I checked my gmail settings and the emails received are from 2006 they are really old emails recent ones are not being received. I also tested other pop accounts and recent emails are not being fetched.
I tried
prop.put("mail.pops.forgettopheaders", true);
prop.put("mail.pops.disabletop", true);
but it did not help
GX
- 03-07-2011, 05:49 AM #4
Member
- Join Date
- Mar 2011
- Posts
- 4
- Rep Power
- 0
Hi all
disabling and enabling pop3 not only retrieves 336 messages, gmail remembers which messages have been downloaded by pop3 and has a 'recent mode' to work around this. Hence it is my conclusion that gmail uses non standard procedure and it is not a problem with javamail settings but gmail itself, I have also has problems with non gmail accounts but not yet investigated them.
Thanks
GX
- 04-30-2011, 07:07 PM #5
Member
- Join Date
- Apr 2011
- Posts
- 1
- Rep Power
- 0
Pop3
dear friends can i have POP3 source code in java?because i m having project in which i have to read emails from email client.thanks
- 04-30-2011, 08:56 PM #6
Similar Threads
-
Strings Lower/UpperCase
By jeata in forum New To JavaReplies: 1Last Post: 10-30-2010, 05:37 PM -
Help Pop3 Server!!
By dnvthv in forum New To JavaReplies: 0Last Post: 10-09-2010, 02:42 PM -
J2ME POP3 connection code for INBOX
By madhuchannama in forum CLDC and MIDPReplies: 4Last Post: 09-09-2010, 08:08 PM -
sending mails thru pop3 server.........
By vrk in forum Advanced JavaReplies: 1Last Post: 03-25-2009, 10:59 PM -
Global Data Entry. Earn $2,000 a day use rebate lower price save money $$$
By arturmoniswork in forum Reviews / AdvertisingReplies: 0Last Post: 12-27-2008, 01:35 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks