From 3ddd8ef6dd9425d6d9b4a5730461ff4452ca8c51 Mon Sep 17 00:00:00 2001 From: gustavf Date: Wed, 15 Mar 2000 09:59:01 +0000 Subject: [PATCH] Added MESSAGE-ID to header array. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@303 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- functions/imap_messages.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/functions/imap_messages.php b/functions/imap_messages.php index c219b80d..34d26d5d 100755 --- a/functions/imap_messages.php +++ b/functions/imap_messages.php @@ -252,6 +252,12 @@ $i++; } } + /** MESSAGE ID **/ + else if (strtolower(substr($read[$i], 0, 11)) == "message-id:") { + $header["MESSAGE-ID"] = trim(substr($read[$i], 11)); + $i++; + } + /** ERROR CORRECTION **/ else if (substr($read[$i], 0, 1) == ")") { -- 2.25.1