Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option to only import the mail attachement #983

Closed
floli opened this issue Aug 4, 2021 · 1 comment · Fixed by #1023
Closed

Option to only import the mail attachement #983

floli opened this issue Aug 4, 2021 · 1 comment · Fixed by #1023
Labels
joex affects the joex component restserver Affects the rest server. webui WebUI issues

Comments

@floli
Copy link

floli commented Aug 4, 2021

Currently, the mail body (converted to PDF) are imported as well as the attachments. Usually, only the attachments bear information for me, e.g., when I get a mail from a printer.

A option to only import attachments would be nice.

For the time being, the workaround to create a whitelist for file extensions e.g. *.pdf|*.docx works for me.

Thanks!

@wallace11
Copy link
Contributor

wallace11 commented Aug 4, 2021

I second this one.
Sometimes you'd get an email with some "other" extension that you didn't specify (or even jpeg instead of jpg, stuff like that), so instead of going whitelist, just "blacklisting" the email content is more reasonable.

@eikek eikek added joex affects the joex component restserver Affects the rest server. webui WebUI issues labels Aug 4, 2021
@eikek eikek added this to the Docspell 0.26.0 milestone Aug 21, 2021
@mergify mergify bot closed this as completed in #1023 Aug 21, 2021
eikek added a commit that referenced this issue Aug 23, 2021
The upload request can now contain a boolean for importing only
attachments when e-mails are uploaded. This option is now also added
to a source url.

Refs: #983
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
joex affects the joex component restserver Affects the rest server. webui WebUI issues
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants