0
votes

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?

1
A good answer here : stackoverflow.com/questions/13685782/… Hope it helps, cheers.Francisco Prado

1 Answers

0
votes

I ended up creating a custom folder with the name "processed items", then moving each processed item to this folder by using Item.Move.

I didn't find a way to directly archive an item.