You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Rene Cordier (Jira)" <se...@james.apache.org> on 2019/08/30 03:01:00 UTC

[jira] [Commented] (JAMES-2868) Http route for getting all mails stored in the MockSmtpServer

    [ https://issues.apache.org/jira/browse/JAMES-2868?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16919141#comment-16919141 ] 

Rene Cordier commented on JAMES-2868:
-------------------------------------

PR solving this matter: https://github.com/linagora/james-project/pull/2649

> Http route for getting all mails stored in the MockSmtpServer
> -------------------------------------------------------------
>
>                 Key: JAMES-2868
>                 URL: https://issues.apache.org/jira/browse/JAMES-2868
>             Project: James Server
>          Issue Type: Sub-task
>          Components: Remote Delivery, tests
>            Reporter: Tellier Benoit
>            Assignee: Tellier Benoit
>            Priority: Major
>
> 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"
>   },
>   ...
> ]



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org