Просмотр исходного кода

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 лет назад
Родитель
Сommit
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)