SpartaSystems / holdmail

HoldMail is a Java Application for proxying SMTP mail, providing a browsable viewer for captured emails.
Apache License 2.0
32 stars 15 forks source link

Add ability to delete emails via the REST api #54

Closed franz-see closed 6 years ago

franz-see commented 6 years ago
Question/Issue Overview

Add ability to delete emails via the REST api. This is to facilitate automatic clean up on the tear down of the unit tests.

Expected Behavior

Add something like DELETE /rest/messages/{messageId} which deletes that particular message.

Current Behavior

AFAIK, there is no way to clean messages created during testing not unless the whole database is wiped and recreated.