Uploaded image for project: 'James Server'
  1. James Server
  2. JAMES-2853 Testing toolbox for Remote Delivery
  3. JAMES-2868

Http route for getting all mails stored in the MockSmtpServer

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.4.0
    • Component/s: Remote Delivery, tests
    • Labels:
      None

      Description

      List all of mails (JAMES-2864 + JAMES-2865) are successfully stored in the MockSmtpServer

      ```
      GET /mails

      • 200: ok
        ```

      ```json
      [
      {
      "envelope":

      { "from": "from@domain.tld", "recipients": ["recipient1@domain.tld", "recipient2@domain.tld"] }

      ,
      "content": "mail content here"
      },
      ...
      ]

        Attachments

          Activity

            People

            • Assignee:
              btellier Benoit Tellier
              Reporter:
              btellier Benoit Tellier
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: