浏览代码

Fixed bug with Cyrus and SendMDN. SquirrelMail wasn't allowed to set Seen flag twice.
Might have somthing to do with the "EXAMINE" call.

Pontus Ullgren 23 年之前
父节点
当前提交
909ef07ef1
共有 1 个文件被更改,包括 1 次插入3 次删除
  1. 1 3
      src/read_body.php

+ 1 - 3
src/read_body.php

@@ -162,9 +162,7 @@ function SendMDN ( $recipient , $sender) {
     global $imapConnection, $mailbox, $username, $attachment_dir, $SERVER_NAME,
            $version, $attachments, $identity, $data_dir, $passed_id;
 
-    $message = sqimap_get_message($imapConnection, $passed_id, $mailbox);
-    $header = $message->header;
-
+    $header = sqimap_get_message_header($imapConnection, $passed_id, $mailbox);
     $hashed_attachment_dir = getHashedDir($username, $attachment_dir);
 
     // part 1 (RFC2298)