Changeset 322b79d in github
- Timestamp:
- Nov 20, 2008 3:46:59 AM (5 years ago)
- Branches:
- master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.6, release-0.7, release-0.8
- Children:
- 300fc65
- Parents:
- 4e5b11a
- Files:
-
- 3 edited
-
CHANGELOG (modified) (1 diff)
-
program/include/rcube_imap.php (modified) (2 diffs)
-
program/lib/imap.inc (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
CHANGELOG
rceb52fe0 r322b79d 5 5 ---------- 6 6 - Fix handling of some malformed messages (#1484438) 7 - Speed up raw message body handling 7 8 8 9 2008/11/15 (alec) -
program/include/rcube_imap.php
rf1d0208 r322b79d 1437 1437 return FALSE; 1438 1438 1439 $body = iil_C_FetchPartHeader($this->conn, $this->mailbox, $msg_id, NULL); 1440 $body .= iil_C_HandlePartBody($this->conn, $this->mailbox, $msg_id, NULL, 1); 1441 1442 return $body; 1439 return iil_C_HandlePartBody($this->conn, $this->mailbox, $msg_id); 1443 1440 } 1444 1441 … … 1471 1468 return FALSE; 1472 1469 1473 print iil_C_FetchPartHeader($this->conn, $this->mailbox, $msg_id, NULL);1474 flush();1475 1470 iil_C_HandlePartBody($this->conn, $this->mailbox, $msg_id, NULL, 2); 1476 1471 } -
program/lib/imap.inc
rf14ac8c r322b79d 72 72 - added 3rd argument in iil_StartsWith* functions 73 73 - fix iil_C_FetchPartHeader() in some cases by use of iil_C_HandlePartBody() 74 - allow iil_C_HandlePartBody() to fetch whole message 74 75 75 76 ********************************************************/ … … 2376 2377 } 2377 2378 2378 function iil_C_HandlePartBody(&$conn, $mailbox, $id, $part , $mode, $file=NULL) {2379 function iil_C_HandlePartBody(&$conn, $mailbox, $id, $part='', $mode=1, $file=NULL) { 2379 2380 /* modes: 2380 2381 1: return string (or write to $file pointer) … … 2385 2386 $fp = $conn->fp; 2386 2387 $result = false; 2387 if (empty($part)) {2388 $part = 'TEXT';2389 }2390 2388 2391 2389 if (iil_C_Select($conn, $mailbox)) {
Note: See TracChangeset
for help on using the changeset viewer.
