Changeset 4824
- Timestamp:
- 07/19/11 16:03:33 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/expressoMail1_2/inc/class.imap_functions.inc.php
r4819 r4824 1935 1935 1936 1936 //$tmp_folder_id = explode("}", imap_utf7_decode($val->name)); 1937 $tmp_folder_id = explode("}", mb_convert_encoding($val->name, "ISO_8859-1", "UTF7-IMAP" )); 1938 1939 if($tmp_folder_id[1]=='INBOX'.$this->imap_delimiter.'decifradas') { 1940 //error_log('passou', 3,'/tmp/imap_get_list.log'); 1941 //imap_deletemailbox($mbox_stream,imap_utf7_encode("{".$this->imap_server."}".'INBOX/decifradas')); 1937 $tmp_folder_id = explode("}", $val->name ); 1938 1939 $folderUser = trim( strpos( $tmp_folder_id[1], $this->imap_delimiter , 5 ) ); 1940 1941 $folderUser = trim( substr( $tmp_folder_id[1], 0, $folderUser ) ); 1942 1943 $Permission = true; 1944 1945 if( $folderUser != "INBOX" && $folderUser != "" ) 1946 { 1947 $Permission = imap_getacl( $mbox_stream, $folderUser ); 1948 } 1949 1950 if( $Permission ) 1951 { 1952 $tmp_folder_id[1] = mb_convert_encoding( $tmp_folder_id[1], "ISO-8859-1", "UTF7-IMAP" ); 1953 1954 if( $tmp_folder_id[1]=='INBOX'.$this->imap_delimiter.'decifradas') 1955 { 1942 1956 continue; 1943 1957 } … … 1977 1991 } 1978 1992 1979 $i++; 1980 } 1993 } 1994 $i++; 1995 } 1981 1996 } 1982 1997
Note: See TracChangeset
for help on using the changeset viewer.