Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

IMAP Command to Marks Mail as Read / UnRead

75 views
Skip to first unread message

naamala

unread,
Mar 22, 2008, 3:27:52 AM3/22/08
to
Hi,

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

Matthias Hanft

unread,
Mar 22, 2008, 3:48:57 AM3/22/08
to
naamala schrieb:

>
> Any one knows IMAP to command to Mark Message as Read/UnRead.

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

naamala

unread,
Mar 22, 2008, 4:33:34 AM3/22/08
to

Hi,
Thanks Matt.

Just gone through the rfc. it's working...

I forgot "-" is to remove the flags.

thanks
naamala

0 new messages