summaryrefslogtreecommitdiff
path: root/roundcubemail/program/lib
diff options
context:
space:
mode:
authorroundcube <roundcube@208e9e7b-5314-0410-a742-e7e81cd9613c>2005-10-07 14:17:08 +0000
committerroundcube <roundcube@208e9e7b-5314-0410-a742-e7e81cd9613c>2005-10-07 14:17:08 +0000
commit42598a6bfeb4f154425dc8eda993b3df8d22d36a (patch)
treea0b5735c2f1830fcbb16756f97ddd0f6e9b8b926 /roundcubemail/program/lib
parent083b33000fa063e11863e0b1f68e586adf4e1384 (diff)
Several bugfixes and feature improvements
git-svn-id: https://svn.roundcube.net/trunk@21 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/lib')
-rw-r--r--roundcubemail/program/lib/imap.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/roundcubemail/program/lib/imap.inc b/roundcubemail/program/lib/imap.inc
index 9ee476ee1..75b0abb21 100644
--- a/roundcubemail/program/lib/imap.inc
+++ b/roundcubemail/program/lib/imap.inc
@@ -345,6 +345,7 @@ function iil_Connect($host, $user, $password){
fputs($conn->fp, "cp01 CAPABILITY\r\n");
do{
$line = trim(chop(iil_ReadLine($conn->fp, 100)));
+ $conn->message.="$line\n";
$a = explode(" ", $line);
if ($line[0]=="*"){
while ( list($k, $w) = each($a) ){
@@ -362,6 +363,7 @@ function iil_Connect($host, $user, $password){
//do CRAM-MD5 authentication
fputs($conn->fp, "a000 AUTHENTICATE CRAM-MD5\r\n");
$line = trim(chop(iil_ReadLine($conn->fp, 1024)));
+ $conn->message.="$line\n";
if ($line[0]=="+"){
$conn->message.='Got challenge: '.htmlspecialchars($line)."\n";
//got a challenge string, try CRAM-5