Start with send-mail widget

This commit is contained in:
Eike Kettner
2020-01-08 01:26:39 +01:00
parent 4490a444a9
commit 51ce48997c
6 changed files with 317 additions and 5 deletions

View File

@ -1325,11 +1325,18 @@ components:
schemas:
SimpleMail:
description: |
A simple e-mail.
A simple e-mail related to an item.
The mail may contain the item attachments as mail attachments.
If all item attachments should be send, set
`addAllAttachments` to `true`. Otherwise set it to `false` and
specify a list of file-ids that you want to include.
required:
- recipients
- subject
- body
- addAllAttachments
- attachmentIds
properties:
recipients:
type: array
@ -1339,6 +1346,13 @@ components:
type: string
body:
type: string
addAllAttachments:
type: boolean
attachemntIds:
type: array
items:
type: string
format: ident
EmailSettingsList:
description: |
A list of user email settings.