Re: mailfolders
DINH Viêt Hoà <[email protected]> Thu, 27 Apr 2006 12:23:00 +0200
| Newsgroups | gmane.mail.libetpan.user |
|---|---|
| Message-ID | <[email protected]> |
On 27 Apr 2006, at 08:48, chris harward wrote: > Hi guys, > > Is there any way of retrieving from a mailstorage a list of the > mailfolders it contains. The answer given by Michael does rather fit but the way of retrieving the folder list (and information associated to the folder) is often specific to the type of mailstorage, that's why I'll rather advise you to use the lower-level API specific for each storage. You can have a look at etpanX or etpan-ng source to know how to retrieve folder list of imap. etpan-ng shows how to retrieve the newsgroups list for nntp. for filesystem based mailstorage, I advise you to use one mailstorage per mailbox. etpanX : http://dinh.dyndns.org/~dinh/blog/etpanX-2006-01-02-bis.tar.gz etpan-ng is distributed on libetpan website. -- DINH Viêt Hoà ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642