Changeset 2879 in subversion for trunk/roundcubemail/program/lib/imap.inc
- Timestamp:
- Aug 27, 2009 5:22:34 AM (4 years ago)
- File:
-
- 1 edited
-
trunk/roundcubemail/program/lib/imap.inc (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/roundcubemail/program/lib/imap.inc
r2826 r2879 989 989 990 990 if ($mode == 1) { 991 if (preg_match('/BODY\[HEADER\.FIELDS \( (DATE|FROM|REPLY-TO|SENDER|TO|SUBJECT)\)\] (.*)/', $line, $matches)) {991 if (preg_match('/BODY\[HEADER\.FIELDS \("?(DATE|FROM|REPLY-TO|SENDER|TO|SUBJECT)"?\)\] (.*)/', $line, $matches)) { 992 992 $value = preg_replace(array('/^"*[a-z]+:/i', '/\s+$/sm'), array('', ''), $matches[2]); 993 993 $value = trim($value);
Note: See TracChangeset
for help on using the changeset viewer.
