- Timestamp:
- 04/04/11 16:54:18 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2/expressoMail1_2/inc/class.imap_functions.inc.php
r3932 r3955 1633 1633 * não preciso reimplementar o método utilizando o fetchheader. 1634 1634 */ 1635 1636 1635 1636 $tempHeader = @imap_fetchheader($this->mbox, imap_msgno($this->mbox, $msg_number)); 1637 1637 $flag = preg_match('/importance *: *(.*)\r/i', $tempHeader, $importance); 1638 1638 $return[$i]['Importance'] = $flag==0?"Normal":$importance[1]; … … 1646 1646 1647 1647 $return[$i]['msg_number'] = $msg_number; 1648 1649 //get the next msg number to append this msg in the view in a correct place 1650 $msg_key_position = array_search($msg_number, $msgs_in_the_server); 1651 1652 if($msg_key_position !== false && array_key_exists($msg_key_position + 1) !== false) 1653 $return[$i]['next_msg_number'] = $msgs_in_the_server[$msg_key_position + 1]; 1648 1654 1649 1655 $return[$i]['msg_folder'] = $folder; 1650 1656 // Atribui o tipo (normal, signature ou cipher) ao campo Content-Type 1651 1657 $return[$i]['ContentType'] = $this->getMessageType($msg_number, $tempHeader); 1652 1658 $return[$i]['Recent'] = $header->Recent;
Note: See TracChangeset
for help on using the changeset viewer.