Hello everybody i use this code and i don't know if it do the same functionality of "Non Junk" button in the other ISPs Web application like Outlook, Yahoo or Gmail:
var email = imap.FetchSingle(messageSet.GetId(i), bUid);
imap.SetMailFlagAsync(email, "NonJunk", 1);
...
//then move all message to the INBOX Folder
imap.MoveMessages(messageSet, "INBOX");
Please help, thanks for advance