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 17:06:00 UTC
[jira] [Commented] (JAMES-2861) [Webadmin] corresponding routes for
JMX IMPORTEML command
[ https://issues.apache.org/jira/browse/JAMES-2861?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17064957#comment-17064957 ]
Raphael Ouazana commented on JAMES-2861:
----------------------------------------
*IMPORTEML* imports an eml file and saves it to a mailbox. It takes 4 arguments: *namespace*, *username*, *mailboxName*, *emlPath*.
You will write a new *EmlRoutes* to takes:
* *namespace*: namespace of the mailbox
* *username*: user(owner) of the mailbox
* *mailboxName*: mailbox name
* eml content in the body
{{POST /eml/import?namespace=#private&username=bob@james.org&mailboxName=inboxBODY: eml content}}
* 204 on imported
* 400 on invalid or non existing mailbox path
* 500 on internal error
> [Webadmin] corresponding routes for JMX IMPORTEML command
> ---------------------------------------------------------
>
> Key: JAMES-2861
> URL: https://issues.apache.org/jira/browse/JAMES-2861
> Project: James Server
> Issue Type: Improvement
> Reporter: Trần Tiến Đức
> Priority: Minor
>
> New Routes for importing EML file into a mailbox:
>
> {code:java}
> POST /mailboxes/mailbox-id-in-string/messages
>
> POST /mailboxes/78585-96969-686568/messages
> BODY: eml
> {code}
>
>
--
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