I have the following problem.I wrote a php filter which opens an imap stream to the inbox folder so the recent flag of a mail will be reseted and I cannot see what new mail I got.
The second problem is when I move a mail with imap_mail_move how can I set the flag of the mail to recent ? I tried to change the flag with imap_setflag_full but it hasn“t changed the recent flag.
My Syntax was : imap_setflag_full($imap,"2","\Recent");
It would be great when somebody can help me.