Oracle Community Directory
Oracle Community FAQ
Go Directly To
Oracle Technology Network Community
My Oracle Support Community
OPN Cloud Connection
Oracle Employee Community
Oracle User Group Community
OTN Speaker Bureau
Java EE (Java Enterprise Edition)
Please enter a title.
You can not post a blank message. Please type your message and try again.
This discussion is archived
: Apr 5, 2012 6:33 PM by
Issue with Folder.list() when "/" character is involved
Apr 5, 2012 8:54 AM
I've noticed this issue while working a Gmail IMAP server, on javamail 1.4.4.
I'm working on a folder A, that contains a subfolder name "B/C".
When invoking A.list(), it would only return "B" in the list of Folders. I know this is due to the IMAP response from the LIST command, I was only wondering if there is some workaround in place?
Thanks in advance,
This content has been marked as final.
Show 1 reply
Re: Issue with Folder.list() when "/" character is involved
Apr 5, 2012 6:33 PM
in response to
list() is equivalent to list("%"). Try list("*"), but be careful of the performance cost.
See the javadocs for details.