Handbook
Glossary
fetch-mails ( uids data-spec -- texts )
IMAP library
Prev:
search-mails ( data-spec str -- uids )
Next:
copy-mails ( uids mailbox -- )
Vocabulary
imap
Inputs
uids
A sequence of UID:s
data-spec
IMAP Message part specifier
Outputs
texts
A sequence of FETCH responses
Word description
Fetches message parts for the specified mails. See rfc3501 for the format of
data-spec
.
Definition
USING:
formatting
imap.private
kernel
sequences
;
IN:
imap
:
fetch-mails
( uids data-spec -- texts )
[
comma-list
]
dip
"UID FETCH %s %s"
sprintf
""
command-response
but-last
;