". _("View message") . "";
} else {
$message_link_str = "". _("View message") . "";
}
$urlmailbox = urlencode($mailbox);
echo '
' .
html_tag( 'table',
html_tag( 'tr',
html_tag( 'td',
'
". //" |
";
html_tag( 'table',
html_tag( 'tr',
html_tag( 'td', '' . $body . '', 'left', $color[4] )
) ,
'center', '', 'width="98%" border="0" cellspacing="0" cellpadding="2"' );
}
function viewMessage($imapConnection, $id, $mailbox, $ent_id, $color, $wrap_at, $extracted) {
global $startMessage;
$msg = sqimap_get_message($imapConnection, $id, $mailbox);
$msg = getEntity($msg, $ent_id);
$header = sqimap_get_ent_header($imapConnection,$id,$mailbox,$ent_id);
$header->id = $id;
$msg->header = $header;
$ent_ar = findDisplayEntity($msg, 0);
$body = '';
for ($i = 0; $i < count($ent_ar); $i++) {
$body .= formatBody($imapConnection, $msg, $color, $wrap_at, $ent_ar[$i], false);
}
$bodyheader = viewHeader($header, $color);
displayPageHeader($color, 'None');
echo ' ' . html_tag( 'table', '', 'center', '', 'width="100%" border="0" cellspacing="0" cellpadding="2"' ); if ($extracted) { echo html_tag( 'tr', html_tag( 'td', ' Message succesfully extracted". " |