Selaa lähdekoodia

Fixed error in MIME structure parsing when response from IMAP server was more than one line.

pallo 25 vuotta sitten
vanhempi
commit
502957a773
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      functions/mime.php

+ 1 - 1
functions/mime.php

@@ -61,7 +61,7 @@
       $read = fgets ($imap_stream, 10000);
       $response = substr($read, 0, 4);
       while ($response != "a001") {
-         $bodystructure = $read;
+         $bodystructure .= $read;
          $read = fgets ($imap_stream, 10000);
          $response = substr($read, 0, 4);
       }