Kaynağa Gözat

Temporary fix for problem when reading a message and you get some weird
error message.

Tyler Akins 24 yıl önce
ebeveyn
işleme
dc7871ef8b
1 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  1. 2 2
      functions/mime.php

+ 2 - 2
functions/mime.php

@@ -361,8 +361,8 @@
       // that it is the first one.  That is usually the case anyway.
       if (!$ent_id) $ent_id = 1;
 
-      fputs ($imap_stream, "a001 FETCH $id BODY[$ent_id]\r\n");
-      $data = sqimap_read_data ($imap_stream, 'a001', true, $response, $message);
+      fputs ($imap_stream, "a010 FETCH $id BODY[$ent_id]\r\n");
+      $data = sqimap_read_data ($imap_stream, 'a010', true, $response, $message);
       $topline = array_shift($data);
       while (! ereg('\* [0-9]+ FETCH ', $topline) && data)
           $topline = array_shift($data);