Handbook
Glossary
list-folders ( directory -- folders )
IMAP library
Prev:
<imap4ssl> ( host -- imap4 )
Next:
select-folder ( mailbox -- count )
Vocabulary
imap
Inputs
directory
a
string
Outputs
folders
a
sequence
Word description
Lists all folders in
directory
. Folders is a sequence of 3-tuples with the attributes, root and name of each folder matched.
Definition
USING:
formatting
imap.private
sequences
;
IN:
imap
:
list-folders
( directory -- folders )
"LIST \"%s\" *"
sprintf
""
command-response
but-last
[
parse-list-folders
]
map
;