| | |
| | | public $others = array(); |
| | | public $flags = array(); |
| | | |
| | | // map header to rcube_message_header object property |
| | | // map header to rcube_mail_header object property |
| | | private $obj_headers = array( |
| | | 'date' => 'date', |
| | | 'from' => 'from', |
| | |
| | | |
| | | // For backward compatibility with cached messages (#1486602) |
| | | class iilBasicHeader extends rcube_mail_header |
| | | { |
| | | } |
| | | |
| | | // Support objects created in git-master (0.9) |
| | | class rcube_message_header extends rcube_mail_header |
| | | { |
| | | } |
| | | |
| | |
| | | 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)) { |
| | | return false; |
| | |
| | | continue; |
| | | $line = convert_uudecode($line); |
| | | // default |
| | | } else { |
| | | } else if ($formatted) { |
| | | $line = rtrim($line, "\t\r\n\0\x0B") . "\n"; |
| | | } |
| | | |