Mailkit: How get unread messages?

Created on 23 Nov 2015  路  3Comments  路  Source: jstedfast/MailKit

Subj

question

Most helpful comment

foreach (var uid in folder.Search (SearchQuery.NotSeen)) {
    var message = folder.GetMessage (uid);
}

All 3 comments

foreach (var uid in folder.Search (SearchQuery.NotSeen)) {
    var message = folder.GetMessage (uid);
}

What about getting unread messages in the Gmail "Primary" tab?

@s4eideh there's no way to do that. That's something that is proprietary to GMail's web UI.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

shayazm picture shayazm  路  3Comments

dbogatov picture dbogatov  路  7Comments

syneex picture syneex  路  4Comments

portal7 picture portal7  路  3Comments

nik0s100 picture nik0s100  路  3Comments