Raphael Ouazana created JAMES-3125:
--------------------------------------
Summary: 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
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]