|
+-----------------------------------------------------------------------+
$Id: mark.inc 1580 2008-06-30 09:36:18Z alec $
*/
if ($uid = get_input_value('_uid', RCUBE_INPUT_POST))
{
$source = $IMAP->get_raw_headers($uid);
if ($source)
{
$source = htmlspecialchars(trim($source));
$source = preg_replace('/\t/', ' ', $source);
$source = preg_replace('/^([a-z0-9_:-]+)/im', ''.'\1'.'', $source);
$source = preg_replace('/\r?\n/', '
', $source);
$OUTPUT->command('set_headers', $source);
$OUTPUT->send();
}
}
exit;
?>