[ciapug] IMAP Folder List

Jonathan Bailey ciapug@cialug.org
Thu, 10 Mar 2005 01:07:01 -0600


Ok.. I'm writing an IMAP client, and I'm stuck on how to display the 
folder tree.... Here is how it's returned from the server:

(as an array - one line/element)

INBOX.Drafts
INBOX.Trash
INBOX.Sent
INBOX.SomeFolder
INBOX.SomeFolder.SubFolder.
INBOX.SomeFolder.SubFolder2
INBOX.SomeFolder2

What is the best datatype for this? (multi-deminsional array), and how 
do I implement it?


Jon