getEntity($passed_ent_id);
$header = $message->header;
$charset = $header->charset;
$type0 = $header->type0;
$type1 = $header->type1;
$encoding = strtolower($header->encoding);
$msg_url = 'read_body.php?' . $QUERY_STRING;
$body = mime_fetch_body($imapConnection, $passed_id, $passed_ent_id);
$body = decodeBody($body, $encoding);
displayPageHeader($color, 'None');
echo "
".
" |
". "". " |
". " |
"; if ($type1 == 'html') { $msg = sqimap_get_message($imapConnection, $passed_id, $mailbox); $msg = $msg->getEntity($passed_ent_id); $body = MagicHTML( $body, $passed_id, $msg ); } else { translateText($body, $wrap_at, $charset); } echo $body . " |