| | |
| | | +-----------------------------------------------------------------------+ |
| | | | program/steps/mail/show.inc | |
| | | | | |
| | | | This file is part of the RoundCube Webmail client | |
| | | | Copyright (C) 2005-2009, RoundCube Dev. - Switzerland | |
| | | | This file is part of the Roundcube Webmail client | |
| | | | Copyright (C) 2005-2009, Roundcube Dev. - Switzerland | |
| | | | Licensed under the GNU GPL | |
| | | | | |
| | | | PURPOSE: | |
| | |
| | | if (empty($MESSAGE->headers)) { |
| | | rcmail_message_error($uid); |
| | | } |
| | | sleep(5); |
| | | |
| | | send_nocacheing_headers(); |
| | | |
| | | $mbox_name = $IMAP->get_mailbox_name(); |
| | |
| | | if (!empty($MESSAGE->headers->charset)) |
| | | $IMAP->set_charset($MESSAGE->headers->charset); |
| | | |
| | | $OUTPUT->set_pagetitle($MESSAGE->subject); |
| | | $OUTPUT->set_pagetitle(abbreviate_string($MESSAGE->subject, 128, '...', true)); |
| | | |
| | | // give message uid to the client |
| | | $OUTPUT->set_env('uid', $MESSAGE->uid); |