|
|
@ -2377,7 +2377,7 @@ class rcube_imap_generic
|
|
|
|
return $this->handlePartBody($mailbox, $id, $is_uid, $part);
|
|
|
|
return $this->handlePartBody($mailbox, $id, $is_uid, $part);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
function handlePartBody($mailbox, $id, $is_uid=false, $part='', $encoding=NULL, $print=NULL, $file=NULL)
|
|
|
|
function handlePartBody($mailbox, $id, $is_uid=false, $part='', $encoding=NULL, $print=NULL, $file=NULL, $formatted=true)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
if (!$this->select($mailbox)) {
|
|
|
|
if (!$this->select($mailbox)) {
|
|
|
|
return false;
|
|
|
|
return false;
|
|
|
@ -2494,7 +2494,7 @@ class rcube_imap_generic
|
|
|
|
continue;
|
|
|
|
continue;
|
|
|
|
$line = convert_uudecode($line);
|
|
|
|
$line = convert_uudecode($line);
|
|
|
|
// default
|
|
|
|
// default
|
|
|
|
} else {
|
|
|
|
} else if ($formatted) {
|
|
|
|
$line = rtrim($line, "\t\r\n\0\x0B") . "\n";
|
|
|
|
$line = rtrim($line, "\t\r\n\0\x0B") . "\n";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|