classpath-inetlib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Classpath-inetlib] IMAP store / folder hierarchy


From: Ruben Malchow
Subject: [Classpath-inetlib] IMAP store / folder hierarchy
Date: Fri, 06 Aug 2004 09:38:01 +0200
User-agent: Mozilla Thunderbird 0.7.2 (Windows/20040707)



maybe i'm being stupid, but:

i'm doing an IMAPStore.getDefaultFolder();

which returns a non-existing folder with an empty name. then i recursively list this folder:


foldername: ""
listing ""
imap: > A3 LIST "" %
imap: < * LIST [\Marked, \HasChildren] "." "INBOX"
imap: < A3 OK LIST completed

foldername:"INBOX"
listing "INBOX"
imap: > A4 LIST INBOX %
imap: < * LIST [\HasNoChildren] "." "INBOX.Drafts"
imap: < * LIST [\HasNoChildren] "." "INBOX.Sent"
imap: < * LIST [\HasNoChildren] "." "INBOX.Trash"
imap: < A4 OK LIST completed

foldername: "INBOX.INBOX.Drafts"
listing "INBOX.INBOX.Drafts"
imap: > A5 LIST INBOX.INBOX.Drafts %
imap: < A5 OK LIST completed

foldername: "INBOX.INBOX.Sent"
listing "INBOX.INBOX.Sent"
imap: > A6 LIST INBOX.INBOX.Sent %
imap: < A6 OK LIST completed

foldername: "INBOX.INBOX.Trash"
listing "INBOX.INBOX.Trash"
imap: > A7 LIST INBOX.INBOX.Trash %
imap: < A7 OK LIST completed
getCurrentFolder() : null

the other side is a courier, nothing too extraordinary, really. but still, to me, this looks like they dont completely agree on the question wether the server should give absolute or relative names.

who's in the wrong, and what do i do to work around this?

regards

.rm










reply via email to

[Prev in Thread] Current Thread [Next in Thread]