Commit Graph

18 Commits

Author SHA1 Message Date
ralf
4e047d8f06 do NOT give a 500 with "Error storing ...", for empty content/body 2024-04-29 10:03:18 +02:00
ralf
6da5f06020 * Mail REST Api: respect user preference to compose in HTML and convert plain body from REST Api call to HTML (bodyHtml attribute forces HTML) 2024-02-01 13:37:40 +02:00
ralf
57f4776615 * Mail REST Api: added reply to an uploaded eml file (with optional preset body and attachments) 2024-01-22 12:10:15 +02:00
ralf
82ae337940 fix /mail/ REST API call returned null instead of identity names 2023-12-21 17:32:18 +02:00
ralf
ef6e6ddf02 * REST API/Mail: viewing uploaded EML files, allowing user to answer, forward or download attachments 2023-11-12 07:06:59 +02:00
ralf
840bd264e7 * Mail/REST API: support an "X-No-Location: true" header to avoid getting a "Location" header when uploading attachments
Also change HTTP Status from "200 Ok" to "201 Created" for a "Location" header,
and send a correct URL to download the attachment again with a GET request.
2023-11-10 17:09:34 +02:00
ralf
ccef28d192 always send Content-Type: application/json 2023-08-09 16:53:39 +02:00
ralf
b395e25863 be more verbose on errors and return full Sieve script text (for user/password, not for admin connection) 2023-08-09 16:49:16 +02:00
ralf
a54e6b4673 if authenticated via token we have to use the admin connection, but only for the user authenticated as 2023-08-09 16:49:16 +02:00
ralf
a8dade0083 add more validation and defaults for the vacation 2023-08-09 16:49:16 +02:00
ralf
bed1e43200 fix error, if there is no old vacation specifying a number of days, setting now same default as UI: 3 days
also some docu fixes
2023-08-09 16:49:16 +02:00
ralf
c2064e1fa8 * Mail: new modus for vacation notice to not save message to INBOX and REST API to set vacation handling 2023-08-09 16:43:33 +02:00
ralf
1508de4574 implement missed shareExpiration and sharePassword attributes when sending mail 2023-07-25 14:59:41 +02:00
ralf
1bfdb71654 WIP Mail REST API: fix docu and content-type of response for uploading attachments 2023-07-14 09:08:35 +02:00
ralf
f95aad8713 * Mail: REST API to send mails including attachments / sharing links, or open interactive compose windows
WIP Mail REST API: enable direct sending of mails with token authentication / no password not allowing to save mail to Sent folder
2023-07-14 09:05:02 +02:00
ralf
21c40e5d01 WIP Mail REST API: do NOT read attachments into memory, they might be to big 2023-07-14 08:40:53 +02:00
ralf
3f760e6e72 WIP REST API for mail: non-interactive direct sending of mails 2023-07-14 08:40:30 +02:00
ralf
2858a8a599 WIP REST API for mail
currently we can launch (interactive) compose windows, if user is online
ToDo:
- send mails for a user
- authentication as arbitrary user with an API token
2023-07-14 08:39:58 +02:00