X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=functions%2Fmime.php;h=989018ae08263043e02a707c5df5b6826d105269;hb=0022f6db893b2e82113a1f902564794fc8244792;hp=a312c831c2a4e63d04f5ca0bc8efe3b6ba16efcd;hpb=d8cffbab47c2fde196c462a2945a2c62b811372d;p=squirrelmail.git diff --git a/functions/mime.php b/functions/mime.php index a312c831..989018ae 100644 --- a/functions/mime.php +++ b/functions/mime.php @@ -1,51 +1,52 @@ parseStructure($read); - $msg = $res[0]; + $i = 0; + $msg = Message::parseStructure($read,$i); if (!is_object($msg)) { include_once(SM_PATH . 'functions/display_messages.php'); global $color, $mailbox; - displayPageHeader( $color, urldecode($mailbox) ); - echo "
\n\n" . - '' . htmlspecialchars($read) . ' |
' . htmlspecialchars($read) . ''; plain_error_message( $errormessage, $color ); echo '