Search code examples
c#.netexchange-server-2007exchange-server-2010

Delete messages from Exchange 2007/2010 from .net


I am looking for suggestion on how I can connect to Exchange 2007/2010 with .net and delete all items in a give mailbox.

Thanks


Solution

  • You can connect via EWS if you're running OWA. If you use the Microsoft.Exchange.WebServices.Data namespace there's a "lot" of thing's you can do with little code. Plenty of information on the net too.