X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=functions%2Fmime.php;h=989018ae08263043e02a707c5df5b6826d105269;hb=0022f6db893b2e82113a1f902564794fc8244792;hp=3b7936d58f50a63956e3ec3265092d830ec22f41;hpb=77bfbd2e9ccc469e31dcca1d374e8ce8916db44f;p=squirrelmail.git diff --git a/functions/mime.php b/functions/mime.php index 3b7936d5..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 '