mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-21 18:08:25 +00:00
Add attachments-only filter to uploads
When uploading a file which is an e-mail, this option allows to skip the mail body when the file is being processed.
This commit is contained in:
@ -4336,6 +4336,10 @@ components:
|
||||
format: language
|
||||
postHandleAll:
|
||||
type: boolean
|
||||
attachmentsOnly:
|
||||
type: boolean
|
||||
description: |
|
||||
Import only the attachments e-mails and discard the body
|
||||
|
||||
ImapSettingsList:
|
||||
description: |
|
||||
@ -5282,6 +5286,14 @@ components:
|
||||
description: |
|
||||
The `language` of the document may be specified, otherwise
|
||||
the one from settings is used.
|
||||
attachmentsOnly:
|
||||
type: boolean
|
||||
default: false
|
||||
description: |
|
||||
Only applies to e-mail files. If `true` then only
|
||||
attachments of the e-mail are imported and the e-mail body
|
||||
is discarded. E-mails that don't have any attachments are
|
||||
skipped.
|
||||
|
||||
Collective:
|
||||
description: |
|
||||
|
Reference in New Issue
Block a user