2

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.

JasonMArcher
  • 14,195
  • 22
  • 56
  • 52
Mike Mengell
  • 2,310
  • 2
  • 21
  • 35

1 Answers1

3

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

Laurion Burchall
  • 2,843
  • 16
  • 12
  • Excellent thank you. I'm still waiting for my Exchange 2010 to be configured for me to develop against but this is key to my application. Thanks for the reply. – Mike Mengell May 12 '10 at 10:06