I'm trying to move a e-mail to folder afther I make the download of attached.
I'm using te code below, but the email not move to folder.
For Each uid As Long In uids
'Download and parse each message.
Dim email As IMail = New MailBuilder() _
.CreateFromEml(imap.GetMessageByUID(uid))
ProcessMessage(email)
'move o email para a pasta
imap.MoveByUID(uid, "Encaminada")
Application.DoEvents()
Next