[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
20.5.2 IMAP (RFC 3501)
- Bigloo Mail class: imap
(class imap::mailbox (socket::socket read-only))
(define mbox (instantiate::maildir (label "My Remote Mailbox") (socket (imap-login (make-client-socket "imap.inria.fr" 993) "serrano" "XXX"))))
- Bigloo Mail procedure: imap-login socket user password
Log a user into an imap server. The socket must have been created first. The argument user is a string and denotes the user name. The argument password is a string too and it contains the user password. This function returns as value the socket it has received. If the operation fails the function raises a
&imap-error
exception.Example:
(define mbox (imap-login (make-client-socket "imap.inria.fr" 993 :timeout 200000) "serrano" "XXX"))
(print (mailbox-folders mbox))
- Bigloo Mail procedure: imap-capability socket
Returns the list of capabilities supported the
imap
server.
This document was generated on March 31, 2014 using texi2html 5.0.