Details
-
Sub-task
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
Designing POJO models be used by the MockSMTPServer and the HttpRoutes.
We will merge the java bean (POJO) and DTO into one so no need to the translator. ### The final MockSetup format: { "command": "RCPT", "condition": { "operator": "contains", "matchingValue": "pippin got the ring" }, "response": { "code": 504, "rejected": false, "message": "server is out of memory" }, "numberOfAnswer": 7 } ### The MockMail format this will be used in the route of getting all stored email of the SMTP server { "envelope": { "from": "from@domain.tld", "recipients": ["recipient1@domain.tld", "recipient2@domain.tld"] }, "content": "mail content here" }