From 5565075350352e7bba6c6a9e68d3216a58efd1d0 Mon Sep 17 00:00:00 2001 From: lkehresman Date: Tue, 18 Apr 2000 01:10:27 +0000 Subject: [PATCH] re-fixed bug for fetching headers. (: git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@435 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- functions/imap_messages.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/functions/imap_messages.php b/functions/imap_messages.php index f506baca..78c5eb7f 100755 --- a/functions/imap_messages.php +++ b/functions/imap_messages.php @@ -40,7 +40,8 @@ ** Returns some general header information -- FROM, DATE, and SUBJECT ******************************************************************************/ function sqimap_get_small_header ($imap_stream, $id, &$from, &$subject, &$date) { - fputs ($imap_stream, "a001 FETCH $id:$id BODY[HEADER.FIELDS (DATE FROM SUBJECT)]\r\n"); + //fputs ($imap_stream, "a001 FETCH $id BODY[HEADER.FIELDS (DATE FROM SUBJECT)]\r\n"); + fputs ($imap_stream, "a001 FETCH $id RFC822.HEADER\r\n"); $read = sqimap_read_data ($imap_stream, "a001", true, $response, $message); $subject = _("(no subject)"); -- 2.25.1