如何将邮件标记为未读?

I wanna to mark message by IMAP as unread in go. I don't know, what parameters give to "Replace" function. I'm using http://godoc.org/github.com/mxk/go-imap/imap

It's my code:

set, _ := imap.NewSeqSet("")
set.AddNum(45364) // 45364 is message's UID
_, err = imap.Wait(c.UIDStore(set, "+FLAGS", imap.Replace()))
查看全部
dragon188199
dragon188199
2014/11/28 08:23
  • imap
  • flags
  • 点赞
  • 收藏
  • 回答
    私信
满意答案
查看全部

2个回复