Changeset 8013 for trunk/expressoMail1_2/inc/class.imap_functions.inc.php
- Timestamp:
- 03/14/13 16:25:01 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/expressoMail1_2/inc/class.imap_functions.inc.php
r7949 r8013 5228 5228 if(isset($params['size'])) $rr['size'] = array(); 5229 5229 5230 //$params['search'] = mb_convert_encoding($params['search'], 'UTF-8',mb_detect_encoding($params['search'].'x', 'UTF-8, ISO-8859-1')); 5231 5230 5232 foreach ($msgs as $i => $v) 5231 5233 { … … 5273 5275 5274 5276 } 5275 5277 5276 5278 if($this->filterCheck( $val , $params['to']['criteria'] , $params['to']['filter'] )) 5277 5279 $rr['to'][] = $v; … … 5293 5295 $this->mbox = $this->open_mbox( $params['folder']['criteria'] ? $params['folder']['criteria'] : 'INBOX' ); 5294 5296 $b = $this->get_body_msg( $v , $params['folder']['criteria'] ? $params['folder']['criteria'] : 'INBOX' ); 5295 5296 if( $this->filterCheck( $b['body'], $params['body']['criteria'] , $params['body']['filter'] ))5297 5298 if( $this->filterCheck( mb_convert_encoding(html_entity_decode($b['body']), 'UTF-8',mb_detect_encoding(html_entity_decode($b['body']).'x', 'UTF-8, ISO-8859-1')) , $params['body']['criteria'] , $params['body']['filter'] )) 5297 5299 $rr['body'][] = $v; 5298 5300 5299 5301 unset($b); 5300 5302 }
Note: See TracChangeset
for help on using the changeset viewer.