Note: You are currently viewing documentation for Moodle 1.9. Up-to-date documentation for the latest stable version is available here: IMAP authentication.
just a note on imap. I couldnt find the following information until i looked at the code.
For type, you can select the following (depending on your host)
imapssl -> /imap/ssl imapcert -> /imap/ssl/novalidate-cert imaptls -> /imap/tls imap -> /imap
thanks prit chand