Wednesday, April 18, 2001 03:59 AM
I'm trying to develop a small mail client using Java Mail API 1.2
I want to make a tree with leaf like "INBOX", "OUTBOX"
etc. like in Outlook Express .
The "INBOX" folder is valid and I'm obtaining it calling
Folder folder = store.getDefaultFolder();
Folder subfolders = folder.list();
The subfolder array contain just one element..the INBOX folder.
How can I create the OUTBOX folder? (in tree it must have the same parent like INBOX)
I've tried with create() method from Folder class, but the operation is not succesfull.
If anyone have an ideea please help me...is very important to me.
Re: Creation of OUTBOX directory
Friday, April 20, 2001 08:04 PM