Hi all imap gurus out there, I have sruggling for quite some time to get the imap_mail_move() function to work.
Imap server : Courier IMAP PHP Version : 4.1.2 <? ....... $connectstring = $usr_inmailserver. "/" . $usr_accessmethod . ":" . $usr_inmailport; $mbox = @imap_open("{" . $connectstring . "}INBOX", $usr_username, $usr_password); if (!$mbox) {echo "NOT LOGGED IN TO IMAP SERVER";exit();} reset($msg); $messageset = implode (",",$msg); imap_mail_move($mbox,$messageset,"Inbox.".$movetofolder); imap_expunge($mbox); imap_close($mbox); ......... ?> where $msg is an array of imap-mailid's which are to be moved from INBOX to $movetofolder. But the above code is not working and is not giving any errors also !!? regards /Chandu -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php