mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 16:48:49 +01:00
no need to fetch mail again
This commit is contained in:
parent
6969120d8b
commit
3d85ca9db6
@ -2373,7 +2373,6 @@ class mail_ui
|
||||
$this->mail_bo->reopen($mailbox);
|
||||
|
||||
$message = $this->mail_bo->getMessageRawBody($uid, $partID, $mailbox);
|
||||
$headers = $this->mail_bo->getMessageHeader($uid, $partID, true,false, $mailbox);
|
||||
|
||||
$this->mail_bo->closeConnection();
|
||||
if ($rememberServerID != $this->mail_bo->profileID)
|
||||
@ -2385,6 +2384,7 @@ class mail_ui
|
||||
$GLOBALS['egw']->session->commit_session();
|
||||
if (!$display)
|
||||
{
|
||||
$headers = Horde_Mime_Headers::parseHeaders($message);
|
||||
$subject = str_replace('$$','__',mail_bo::decode_header($headers['SUBJECT']));
|
||||
html::safe_content_header($message, $subject.".eml", $mime='message/rfc822', $size=0, true, true);
|
||||
echo $message;
|
||||
|
Loading…
Reference in New Issue
Block a user