I have problems with the ImapX and C # library. The point is that, through the MoveTo function, I should be able to move a message from one folder to another (in my case, I move an email to a subfolder). However, when entering the mail server, there is no change, even when the operation completes successfully without skipping any exceptions.
foreach (EmailImap e in correosMover)
{
ImapX.Message m = e.getMessage();
m.MoveTo(folder.SubFolders[destino]);
e.setSubCarpeta(destino);
}
I have verified that correoMover is not null, that the message is not null (EmailImap is a class that I have created that, apart from containing the message in Imap format, has a couple of things more necessary for my application), and There does not seem to be a problem with nulls. So, what could be failing in the operation void MoveTo(ImapX.Folder);
?