[ciapug] IMAP Folder List

Jerry Weida ciapug@cialug.org
Thu, 10 Mar 2005 08:22:44 -0600


I believe that the squirrelmail project uses a multi-deminsional array
for this.  They then iterate through the array and show the folders in
an "explorer" type view with the subfolders under the folder they
appear in.


On Thu, 10 Mar 2005 01:07:01 -0600, Jonathan Bailey <jcbailey@code0.net> wrote:
> 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
> _______________________________________________
> ciapug mailing list
> ciapug@cialug.org
> http://cialug.org/mailman/listinfo/ciapug
>