Handbook
Glossary
<imap4ssl> ( host -- imap4 )
IMAP library
Prev:
with-imap-settings ( imap-settings quot -- )
Next:
list-folders ( directory -- folders )
Vocabulary
imap
Inputs
host
a
string
Outputs
imap4
a duplex stream
Word description
Connects to an IMAP server using SSL on port 993.
Definition
USING:
imap.private
io.encodings.binary
io.sockets
io.sockets.secure
io.streams.duplex
kernel
;
IN:
imap
:
<imap4ssl>
( host -- imap4 )
IMAP4_SSL_PORT
<inet>
f
<secure>
binary
<client>
drop
dup
[
"\\*"
read-response
drop
]
with-stream*
;