Handbook
Glossary
rename-folder ( old-name new-name -- )
IMAP library
Prev:
delete-folder ( mailbox -- )
Next:
status-folder ( mailbox keys -- assoc )
Vocabulary
imap
Inputs
old-name
a
string
new-name
a
string
Outputs
None
Word description
Renames a folder.
Definition
USING:
formatting
imap.private
kernel
;
IN:
imap
:
rename-folder
( old-name new-name -- )
[
>utf7imap4
]
bi@
"RENAME \"%s\" \"%s\""
sprintf
""
command-response
drop
;