diff options
author | thomascube <thomas@roundcube.net> | 2008-02-08 17:18:32 +0000 |
---|---|---|
committer | thomascube <thomas@roundcube.net> | 2008-02-08 17:18:32 +0000 |
commit | 5bc0ab10fc24d22c422517abd0a9eaa0be31f529 (patch) | |
tree | 976db5f2c9c97de41163879824d1f93bc167eaf4 /program/lib/imap.inc | |
parent | 320e15b32fc65b18cf571c3f25902482f0ec6eeb (diff) |
Distinguish ssl and tls for imap connections (#1484667)
Diffstat (limited to 'program/lib/imap.inc')
-rw-r--r-- | program/lib/imap.inc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/program/lib/imap.inc b/program/lib/imap.inc index 11ab370d9..a2a63d92e 100644 --- a/program/lib/imap.inc +++ b/program/lib/imap.inc @@ -49,6 +49,7 @@ - Sanity check of $message_set in iil_C_FetchHeaders(), iil_C_FetchHeaderIndex(), iil_C_FetchThreadHeaders() - Implemented UID FETCH in iil_C_FetchHeaders() - Abort do-loop on socket errors (fgets returns false) + - $ICL_SSL is not boolean anymore but contains the connection schema (ssl or tls) - Removed some debuggers (echo ...) ********************************************************/ @@ -455,7 +456,7 @@ function iil_Connect($host, $user, $password) { //check for SSL if ($ICL_SSL) { - $host = "ssl://".$host; + $host = $ICL_SSL."://".$host; } //open socket connection |