Quantcast
Channel: Chilkat Forum - latest questions
Viewing all articles
Browse latest Browse all 1061

How to Mark an Email as Not Junk/Spam Using IMAP on C# ?

$
0
0

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


Viewing all articles
Browse latest Browse all 1061

Trending Articles