Changeset 2247 for trunk/expressoMail1_2/inc
- Timestamp:
- 03/15/10 14:10:57 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/expressoMail1_2/inc/class.imap_functions.inc.php
r2213 r2247 1823 1823 $namebox = mb_convert_encoding($namebox, "UTF7-IMAP","UTF-8"); 1824 1824 $new_box = mb_convert_encoding($new_box, "UTF7-IMAP","UTF-8"); 1825 1826 if(!imap_renamemailbox($mbox_stream,"{".$imap_server."}$namebox","{".$imap_server."}$new_box")) 1827 { 1828 $result = imap_errors(); 1825 if(!$this->folder_exists($new_box)) 1826 { 1827 if(!imap_renamemailbox($mbox_stream,"{".$imap_server."}$namebox","{".$imap_server."}$new_box")) 1828 { 1829 $result = imap_errors(); 1830 } 1831 } 1832 else{ 1833 $result = "Mailbox already exists"; 1829 1834 } 1830 1835 if($mbox_stream)
Note: See TracChangeset
for help on using the changeset viewer.