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 "Raphael Ouazana (Jira)" <se...@james.apache.org> on 2020/03/23 16:59:00 UTC

[jira] [Created] (JAMES-3125) GETting full mail details in mailQueue

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": "sender@domain.com",    "recipients": ["recipient1@domain.com", "recipient2@domain.com"],    "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: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org