Using Folder.list() with POP3
1 posts in topic
Flat View  Flat View

Posted By:   Anonymous
Posted On:   Monday, March 26, 2001 04:36 AM

Folder folder = store.getFolder("INBOX");;
Folder ff[] = folder.list();
for (int t = 0; t < ff.length; t ++) {

The above code throws the following exception at folder.list():
javax.mail.MessagingException: not a directory.

Can someone help?

Re: Using Folder.list() with POP3

Posted By:   John_Zukowski  
Posted On:   Monday, March 26, 2001 05:56 AM

POP only supports a single folder, the INBOX.
About | Sitemap | Contact