Uploaded image for project: 'James Server'
  1. James Server
  2. JAMES-3758

Endpoint to delete emails older than X days/months/years

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.7.0
    • 3.8.0
    • mailbox, webadmin
    • None

    Description

      An often requested feature is to have a data cleaup mechanism to delete old emails.

      We can easily implement such a task in webadmin-mailbox.

      For instance:

      curl -XDELETE /messages?olderThan=1year
      

      Would plan a task to delete emails older than a year accross all accounts. It will return the count of deleted emails.

      As one of my customer is interested by this feature I might work on this.

      Attachments

        Activity

          People

            Unassigned Unassigned
            btellier Benoit Tellier
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: