Well...I'm using the number that was returned in my code for which message it is in the mailbox. I thought that was the sequence number, but its not setting any of my flags using that number. I am using the $Headers = imap_headerinfo($MailBox, $msgNumber); You say I should use the imap_headers() command? It returns all headers for all messages in the supplied mailbox...What would I need to do to extract the UID of the message? Everytime I look at examples for using the imap_setflag_full() command its showing the message sequence number as: "1,2" But if I use just "1" it doesn't do anything.
This is my instruction to open the mailbox:
$MailBox = @imap_open("{mail.kylosa.com:110/pop3}INBOX", $Login, $Access) or die("Error, Can't open Mail server! ".imap_last_error());
Am I doing something wrong there? I've read that you need to open the mailbox with read/write access...the only option I show to use is to open with readonly, so I am taking for granted the default when you open is Read/Write. Though I could be wrong. Thanks for your help, do you think you could help me a little more?
Thanks,
K`ale