| Register | FAQ | Calendar | Search | Today's Posts | Mark Forums Read |
|
#1
| |||
| |||
| 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 |
|
#2
| |||
| |||
| 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 |
|
#3
| |||
| |||
| On Mar 22, 12:48 pm, Matthias Hanft <m...@hanft.de> wrote: > naamala schrieb: > > > > > Any one knows IMAP to command to Mark Message as Read/UnRead. > > You have to delete the "\Seen" flag. Have a look intoftp://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 |
![]() |
| Thread Tools | |
| Display Modes | |
In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.