array to string comparision. sqimap_retrieve_imap_response function, that
authortokul <tokul@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sat, 3 Jan 2004 14:21:35 +0000 (14:21 +0000)
committertokul <tokul@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sat, 3 Jan 2004 14:21:35 +0000 (14:21 +0000)
is used in sqimap_read_data, provides $response as array.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@6368 7612ce4b-ef26-0410-bec9-ea0150e637f0

plugins/mail_fetch/fetch.php

index 26260ed..b7623d8 100644 (file)
@@ -270,6 +270,8 @@ sqgetGlobalVar('delimiter',  $delimiter,  SQ_SESSION);
                 fputs($imap_stream, $Message);
                 fputs($imap_stream, "\r\n");
                 sqimap_read_data($imap_stream, "A3$i", false, $response, $message);
+               // sqimap_retrieve_imap_response provides $response in array
+               $response=(implode('',$response));
                 if ($response != 'OK') {
                     Mail_Fetch_Status(_("Error Appending Message!")." ".$message );
                     Mail_Fetch_Status(_("Closing POP"));