I am doing the webmail project in php using imap function. We can Drag & Drop mail item one folder to another folder but that is working for INBOX folder messages only. I don't know why. Is their any mail settings need ? or my coding mistake ?
This is my coding to move to the another folder,
$imapresult = @imap_mail_move($mbox,$move_uid,$mailbox,CP_UID);
if($imapresult==false){die("error".imap_last_error());}
//delete selected email from current folder
@imap_expunge($mbox);
imap_close($mbox,CL_EXPUNGE);