This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Murach's Python Programming and have Michael Urban and Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Listing all Message in a Email Folder  RSS feed

 
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?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!