Changeset 31ecc4f in github
- Timestamp:
- Feb 1, 2008 9:23:01 PM (5 years ago)
- Branches:
- master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.6, release-0.7, release-0.8
- Children:
- c658edb
- Parents:
- 611a6a7
- File:
-
- 1 edited
-
program/lib/imap.inc (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
program/lib/imap.inc
r611a6a7 r31ecc4f 54 54 ********************************************************/ 55 55 56 /** 57 * @todo Possibly clean up more CS. 58 * @todo Split this file into smaller files. 59 * @todo Refactor code. 60 */ 56 61 57 62 // changed path to work within roundcube webmail … … 1571 1576 $ctype_parts = explode(";", $string); 1572 1577 $result[$id]->ctype = array_shift($ctype_parts); 1573 foreach ($ctype_parts as $ctype_add) 1578 foreach ($ctype_parts as $ctype_add) { 1574 1579 if (preg_match('/charset="?([a-z0-9\-\.\_]+)"?/i', 1575 1580 $ctype_add, $regs)) { 1576 1581 $result[$id]->charset = $regs[1]; 1577 1582 } 1578 break; 1583 } 1584 break; 1579 1585 case 'in-reply-to': 1580 1586 $result[$id]->in_reply_to = ereg_replace("[\n<>]", '', $string); … … 1583 1589 $result[$id]->references = $string; 1584 1590 break; 1585 case 'return-receipt-to':1586 case 'disposition-notification-to':1587 case 'x-confirm-reading-to':1588 $result[$id]->mdn_to = str_replace("\n", " ", $string);1589 break;1591 case 'return-receipt-to': 1592 case 'disposition-notification-to': 1593 case 'x-confirm-reading-to': 1594 $result[$id]->mdn_to = str_replace("\n", " ", $string); 1595 break; 1590 1596 case 'message-id': 1591 1597 $result[$id]->messageID = $string;
Note: See TracChangeset
for help on using the changeset viewer.
