From cb45346ac9e15eab02a1d5bc6cd640d9fab9aaa8 Mon Sep 17 00:00:00 2001 From: nehresma Date: Sat, 19 Feb 2000 18:04:16 +0000 Subject: [PATCH] changed the fetch command for headers to be more flexable across different servers git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@225 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- functions/mailbox.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/mailbox.php b/functions/mailbox.php index b07e2543..cb0a071b 100644 --- a/functions/mailbox.php +++ b/functions/mailbox.php @@ -60,7 +60,7 @@ } else { $rel_end = $end; } - fputs($imapConnection, "messageFetch FETCH $rel_start:$rel_end RFC822.HEADER.LINES (From Subject Date)\n"); + fputs($imapConnection, "messageFetch FETCH $rel_start:$rel_end BODY[HEADER.FIELDS (From Subject Date)]\n"); $read = fgets($imapConnection, 1024); while ((substr($read, 0, 15) != "messageFetch OK") && (substr($read, 0, 16) != "messageFetch BAD")) { -- 2.25.1