$cale = mailaccessFolder::createFolderString($to);
$status = imap_status($conn,$cale,SA_ALL);
print("Messages: ". $status->messages )."<br>\n";
if ($return = imap_mail_copy($conn, $msg_ids, mailaccessFolder::createFolderString($to), CP_UID))
{}
else
print "eroare: ".implode("<br>\n",imap_errors())."<br>\n";
RETURN:
"Messages: 1
eroare: Invalid mailbox
Error in IMAP command received by server."
So "imap_status" WORK but "imap_mail_copy" DON'T
verrrrrrry strange...
NOBODY HELP ME????????
Originally posted by tomarius
I have instaled on my server
Postfix+Courier-IMAP+MySQL for multiple domains
I succed to create mailboxes but I can't use the function
imap_subscribe, imap_mail_copy , imap_mail_move, imap_setflag_full
imap_header don't tell me if the message is unseen
does anybody meet this problem before?