Seen Flag

Aug 2, 2010 at 1:19 AM

Hi, I'm trying to check the if the mail message is Read ("Seen") by checking the ImapMailboxMessage.Flags.Seen. But it's always return false, does anyone know to check if the mail is read or not? Any sample vb/c# is very much appreciated.

Aug 4, 2010 at 12:40 AM

Somehow I  manage to get it working by changing the regular expression in ImapCommand.cs

in void ParseMessages(ref ImapMailbox Mailbox)

                    //Original Code
                    //if ((match = Regex.Match(responses[i], @"\(FLAGS \(([^\)]*)\)")).Success)
                    //Changes to
                    if ((match = Regex.Match(responses[i], @"FLAGS \(([^\)]*)\)")).Success)