Changeset 4693
- Timestamp:
- 07/11/11 13:25:23 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.0.1/expressoMail1_2/inc/class.imap_functions.inc.php
r4683 r4693 1817 1817 1818 1818 //$tmp_folder_id = explode("}", imap_utf7_decode($val->name)); 1819 $tmp_folder_id = explode("}", mb_convert_encoding($val->name, "ISO_8859-1", "UTF7-IMAP" )); 1820 1821 if($tmp_folder_id[1]=='INBOX'.$this->imap_delimiter.'decifradas') { 1822 //error_log('passou', 3,'/tmp/imap_get_list.log'); 1823 //imap_deletemailbox($mbox_stream,imap_utf7_encode("{".$this->imap_server."}".'INBOX/decifradas')); 1819 $tmp_folder_id = explode("}", $val->name ); 1820 1821 $folderUser = trim( strpos( $tmp_folder_id[1], $this->imap_delimiter , 5 ) ); 1822 1823 $folderUser = trim( substr( $tmp_folder_id[1], 0, $folderUser ) ); 1824 1825 $Permission = true; 1826 1827 if( $folderUser != "INBOX" && $folderUser != "" ) 1828 { 1829 $Permission = imap_getacl( $mbox_stream, $folderUser ); 1830 } 1831 1832 if( $Permission ) 1833 { 1834 $tmp_folder_id[1] = mb_convert_encoding( $tmp_folder_id[1], "ISO-8859-1", "UTF7-IMAP" ); 1835 1836 if( $tmp_folder_id[1]=='INBOX'.$this->imap_delimiter.'decifradas') 1837 { 1824 1838 continue; 1825 1839 } … … 1859 1873 } 1860 1874 1861 $i++; 1862 } 1875 } 1876 $i++; 1877 } 1863 1878 } 1864 1879
Note: See TracChangeset
for help on using the changeset viewer.