Hello,
I'm trying to make a script flag messages as "Seen" so that they are not checked again by the script the next time it is ran.
But there are 2 problems :
1) In ...
imap_setflag_full($mbox,"2,5","\\Seen"

... I fail to understand what is "2,5" , what it represents and how to build it. It is said to be a "string sequence" in the documentation, but still, it doesn't tell anything to me.
Instead of "2,5", could I simply use the message number (ie: "2"

2) If a script flags a message as "seen", then, will outlook be able to retrieve it definitively? I'm not sure about the implication of the use of this flag, actually.
Thanks a lot to the ones who will help.
Have a nice day.