// This code is completely untested so far - IT NEEDS TESTERS!
// Looks like it should work though ...
-$CFG->auth_imaphost = "202.0.185.16"; // Should be IP number
-$CFG->auth_imaptype = "imap"; // imap, imapssl, imapcert
+$CFG->auth_imaphost = "127.0.0.1"; // Should be IP number
+$CFG->auth_imaptype = "imap"; // imap, imaptls, imapssl, imapcert
$CFG->auth_imapport = "143"; // 143, 993
$CFG->auth_instructions = "Use the same username and password as your school email account"; // Instructions
$host = "{".$CFG->auth_imaphost.":$CFG->auth_imapport/imap/ssl/novalidate-cert}INBOX";
break;
+ case "imaptls":
+ $host = "{".$CFG->auth_imaphost.":$CFG->auth_imapport/imap/notls}INBOX";
+ break;
+
default:
$host = "{".$CFG->auth_imaphost.":$CFG->auth_imapport}";
}