I developed an automated procedure (.Net code) running in a Windows service and scheduled by a custom scheduler using timers. This procedure uses EWS to read emails and load attachments.
After successfully processing an email, I would like to move it to the archive inbox (like you can do in Outlook). I searched quite a bit for the correct way to move an item to the archives, but the only straightforward way I found is to use the ArchiveItem
operation, which is only available from Exchange Server 2013. After inspecting the API, I found two other possible ways to do it, but didn't find any reliable example of usage and I'm not even sure they would apply to my situation :
Did someone have something similar to accomplish, and how did you do it?