The moose likes Other JSE/JEE APIs and the fly likes Listing all Message in a Email Folder Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Reply Bookmark "Listing all Message in a Email Folder" Watch "Listing all Message in a Email Folder" New topic
Author

Listing all Message in a Email Folder

Tom Ben
Ranch Hand

Joined: Aug 17, 2001
Posts: 109
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?


Sun Certified Programmer on the Java 2 Platform
 
 
subject: Listing all Message in a Email Folder
 
Threads others viewed
Reading email messages
Images in downloaded files
Suggestions to make the site better - minor complaints
Complete SCEA 5 Exam Survey /Free exam voucher $200 US Value
problem with accessing JSP init parameters
Two Laptop Bag

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture