DEV Community

bosodo
bosodo

Posted on • Updated on

Batch delete emails from MS Exchange

Simple CLI script for deleting emails from Microsoft Exchange mailboxes.
You can use it to delete emails from exchange mailboxes, that are not managed by Outlook, OWA or etc. (e.g. technical e-mail accounts). The script use Microsoft Exchange Web Services (EWS) to communicate with MS Exchange server.

https://github.com/bosodo/exchange-mailbox-cleaner

Deleted emails can be exported to .eml files before removing from MS Exchange server.

Top comments (0)