cURL / Mailing Lists / curl-library / Single Mail

curl-library

IMAP folder listing.

From: Ben Greear <greearb_at_candelatech.com>
Date: Tue, 30 Mar 2010 11:12:03 -0700

[imap] imap: Return folder listing if empty URL content is given.

Please consider the next patch as RFC. There is still some debugging
code in it..but I'm sure I'll need this for future patches...can remove
it in the end.

With this patch, the results of imap://tester:passwd_at_mail.foo.com
will return something like:

* LIST (\NoInferiors \UnMarked) "/" "folder2"
* LIST (\NoInferiors \UnMarked) "/" "Trash"
* LIST (\NoInferiors \UnMarked) "/" "folder1"
* LIST (\NoInferiors \UnMarked) "/" "INBOX"

I'll be working next to allow listings of a particular folder.

Comments and suggestions are welcome.

Thanks,
Ben

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-03-30