I am reading mails from mail sever using IMAP, but as soon as I
read the unread mails there are marked as Read in mail server.
But I need to them again to Mark as "UnRead".
Any one knows IMAP to command to Mark Message as Read/UnRead.
Thanks
naamala
You have to delete the "\Seen" flag. Have a look into
ftp://ftp.rfc-editor.org/in-notes/rfc3501.txt (STORE
command). Example to mark messages 2 to 4 as unread:
A003 STORE 2:4 -FLAGS (\Seen)
-Matt
Hi,
Thanks Matt.
Just gone through the rfc. it's working...
I forgot "-" is to remove the flags.
thanks
naamala