inbox.MoveTo Folder does not move message out of inbox #160
Comments
If you look at the source code for the If the IMAP server supports the When the IMAP server does not support the If the server supports the My guess is that your server supports neither So to answer your question more succinctly: After calling |
FWIW, if you follow the directions in the FAQ for getting protocol logs, it should show you in more detail what I'm talking about and will confirm (or deny) my explanation. |
vnwind commented on 14 Mar 2015
Hi I am trying to move a message to a different folder using
inbox.MoveTo(uid, matchFolder);
. Here is my code:foreach (var uid in matchedMsgList) { var matchFolder = imapClient.GetFolder(folderName); if (matchFolder != null) inbox.MoveTo(uid, matchFolder); }
However, the message shows up on both inbox and matchFolder under outlook. View the message detail and it is label as "Inbox" & "matchFolder"
How can I move the message out of Inbox completely? Or is it has something to do with my outlook program?
Thanks for your help