Changeset 1931 for trunk/expressoMail1_2
- Timestamp:
- 01/12/10 11:22:44 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/expressoMail1_2/inc/class.imap_functions.inc.php
r1923 r1931 376 376 377 377 $folder = $params['folder']; 378 $all_ids = $this-> get_msgs($folder, 'SORTARRIVAL', false, 0, 1,200);378 $all_ids = $this-> get_msgs($folder, 'SORTARRIVAL', false, 0,-1,-1); 379 379 380 380 $messages_not_to_copy = explode(",",$params['mails']); 381 381 $ids = array(); 382 382 383 $cont = 0; 384 383 385 foreach($all_ids as $each_id=>$value) { 384 if(!in_array($each_id,$messages_not_to_copy)) 386 if(!in_array($each_id,$messages_not_to_copy)) { 385 387 array_push($ids,$each_id); 388 $cont++; 389 } 390 if($cont>=100) 391 break; 386 392 } 387 393
Note: See TracChangeset
for help on using the changeset viewer.