浏览代码

Added MESSAGE-ID to header array.

gustavf 25 年之前
父节点
当前提交
658948cab9
共有 1 个文件被更改,包括 6 次插入0 次删除
  1. 6 0
      functions/imap_messages.php

+ 6 - 0
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) == ")") {