Exchange 2010 EWS Delete Message
-
25-09-2019 - |
Question
How do I delete email messages in a mailbox using EWS?
There doesn't seem to be much online for it?
I'm planning an application and I need to know if it's possible and how to do it.
Solution
The Item class has a Delete method. You can open the message and then delete it.
http://msdn.microsoft.com/en-us/library/microsoft.exchange.webservices.data.item.delete.aspx
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow