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

Raphael Ouazana commented on JAMES-3125:
----------------------------------------

Good point, but maybe the envelop part still makes sense.

> GETting full mail details in mailQueue
> --------------------------------------
>
>                 Key: JAMES-3125
>                 URL: https://issues.apache.org/jira/browse/JAMES-3125
>             Project: James Server
>          Issue Type: Improvement
>            Reporter: Raphael Ouazana
>            Priority: Major
>
>  
> James' mail queue can be used to browse currently enqueued mails, waiting for 
> processing.
> We can already administrate mail queues with 
> http://james.apache.org/server/manage-webadmin.html#Administrating_mail_queues
> The goal of this ticket is two implement 2 new end points:
> curl -XGET -H 'Accept: application/json' 
> http://ip:port/mailQueues/spool/mails/0123456789Will return{    "name": 
> "mail-key-1",    "sender": "[email protected]",    "recipients": 
> ["[email protected]", "[email protected]"],    "nextDelivery": "Thu 
> 12 Apr. 2020",    "state": "address-error",    "error": "A small message 
> explaining what happened to that mail...",    "remoteHost": 
> "111.222.333.444",    "remoteAddr": "127.0.0.1",    "lastUpdated": null}curl 
> -XGET -H 'Accept: message/rfc822' 
> http://ip:port/mailQueues/spool/mails/0123456789Will return the EML itself
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to