I have just recently written a complete webmail software using PHP, and
need to implement features that determin whether the email has been read
or not.
The function imap_setflag_full can set the flag, but i have no way of
seeing which e-mails have what flags.
imap_search allows you to search the email headers for strings, but i
have no way of knowing which emails had what flags.
Basically i need to: when loading client, check to see if an
e-mail has been looked at
if no, set it to unread
if yes, leave it
when you read a message, set
it to read.
If anyone can help me on this, i would most appreciate it. It has been
killing me all day:(
Thanks:)