From: moodler Date: Tue, 29 Jul 2003 07:12:31 +0000 (+0000) Subject: Fix for POP3 by disabling TLS explicitly. X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=17b88d19106554e7fb6c920c388f1f56c0ecdfeb;p=moodle.git Fix for POP3 by disabling TLS explicitly. based on this: http://moodle.org/mod/forum/discuss.php?d=1884 --- diff --git a/auth/pop3/lib.php b/auth/pop3/lib.php index d6eee07f3b..64cc3c424b 100644 --- a/auth/pop3/lib.php +++ b/auth/pop3/lib.php @@ -9,7 +9,7 @@ function auth_user_login ($username, $password) { switch ($CFG->auth_pop3type) { case "pop3": - $host = "{".$CFG->auth_pop3host.":$CFG->auth_pop3port/pop3}INBOX"; + $host = "{".$CFG->auth_pop3host.":$CFG->auth_pop3port/pop3/notls}INBOX"; break; case "pop3cert": $host = "{".$CFG->auth_pop3host.":$CFG->auth_pop3port/pop3/ssl/novalidate-cert}INBOX";