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

Initial implementation based on email-to-pdf-converter #1

Closed
3 tasks done
ChristophWurst opened this issue Oct 19, 2023 · 1 comment
Closed
3 tasks done

Initial implementation based on email-to-pdf-converter #1

ChristophWurst opened this issue Oct 19, 2023 · 1 comment
Assignees
Labels
2. developing Work in progress enhancement New feature request

Comments

@ChristophWurst
Copy link
Member

ChristophWurst commented Oct 19, 2023

Feature request

As a Nextcloud user I want to view the contents of an .eml or .msg file. These might be sent via an email, so I open them with Viewer in Mail, or they are shared via Nextcloud Files and I open them with Viewer as well.

Implementation

An .eml (message/rfc822) or .msg (application/vnd.ms-outlook) file can't just be opened by the browser, but it can be converted to a viewable representation. The project https://github.com/nickrussler/email-to-pdf-converter offers a Java tool that converts the two file types into a PDF in a few seconds. This Nextcloud app can add a simple route to which a .eml/.msg file can be sent and converted. Sending the file makes the feature usable for attachments in Mail and also files on DAV.

Work packages

  • Create an endpoint for the conversation
  • Extend viewer with a new handler but reuse the existing PDF handler
  • Documentation
    • Requirements: files_pdfviewer installed, JRE, wkhtmltopdf
    • Security: usage of wkhtmltopdf
@ChristophWurst ChristophWurst changed the title Initial implementation Initial implementation based on email-to-pdf-converter Oct 19, 2023
@ChristophWurst ChristophWurst added 1. to develop Accepted and waiting to be taken care of enhancement New feature request labels Oct 19, 2023
@hamza221 hamza221 self-assigned this Oct 24, 2023
@ChristophWurst
Copy link
Member Author

ChristophWurst commented Nov 22, 2023

Re nextcloud/mail#9078. This feature should be standalone inside this app

The app shall work in a way that eml files can be opened anywhere in Nextcloud, be it Files, Talk or Mail. The feature is not specific to opening Mail attachments.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2. developing Work in progress enhancement New feature request
Projects
Development

No branches or pull requests

2 participants