• Post Reply Bookmark Topic Watch Topic
  • New Topic

Listing all Message in a Email Folder

 
Tom Ben
Ranch Hand
Posts: 109
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using the Email API to connect to my pop3 account a list all my messages. By if the message is not new then it tells me that the Folder is empty when I know there is three already opend emails in there I am using
"int totalMessages = folder.getMessageCount();"
but it keeps saying that there are zero message in the INBOX. What am I doing wrong here?
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!