Commit Graph

17 Commits

Author SHA1 Message Date
ralf
4ce3298241 * 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:11 +02:00
ralf
866d10e030 * Mail REST Api: added reply to an uploaded eml file (with optional preset body and attachments) 2024-01-22 12:07:10 +02:00
ralf
dfc8b95cff fix /mail/ REST API call returned null instead of identity names 2023-12-21 17:31:43 +02:00
ralf
ef43d7298b * 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:07:06 +02:00
ralf
305aaad22c * REST API/Mail: viewing uploaded EML files, allowing user to answer, forward or download attachments 2023-10-27 11:50:13 +03:00
ralf
2022adfbfb be more verbose on errors and return full Sieve script text (for user/password, not for admin connection) 2023-08-03 13:58:51 +02:00
ralf
da49ce2924 if authenticated via token we have to use the admin connection, but only for the user authenticated as 2023-08-03 10:22:45 +02:00
ralf
fb87f5f173 always send Content-Type: application/json 2023-08-03 09:00:30 +02:00
ralf
f89ad191e4 add more validation and defaults for the vacation 2023-08-02 15:16:16 +02:00
ralf
6249f128db 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-02 11:02:15 +02:00
ralf
027ad398d6 * Mail: new modus for vacation notice to not save message to INBOX and REST API to set vacation handling 2023-07-31 16:24:58 +02:00
ralf
fe57e18438 implement missed shareExpiration and sharePassword attributes when sending mail 2023-07-25 14:58:49 +02:00
ralf
3da996afc7 WIP Mail REST API: fix docu and content-type of response for uploading attachments 2023-07-13 16:32:01 +02:00
ralf
2bd5fd5601 WIP Mail REST API: enable direct sending of mails with token authentication / no password not allowing to save mail to Sent folder 2023-07-07 12:22:15 +02:00
ralf
65b239ca2c WIP Mail REST API: do NOT read attachments into memory, they might be to big 2023-06-30 17:13:42 +02:00
ralf
8a3fd670ee WIP REST API for mail: non-interactive direct sending of mails 2023-06-30 16:33:28 +02:00
ralf
dfef4ce0c5 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-06-29 12:50:04 +02:00