bcgov / foi-flow

Freedom of Information modernization
Apache License 2.0
5 stars 3 forks source link

.EML to PDF File Conversion #3071

Open aparna-aot opened 1 year ago

aparna-aot commented 1 year ago

Title of ticket:

Description

The purpose of this task is to convert .EML Files and its attachments arriving into Ministry Level S3 Bucket's request folder , to a "PROPERLY FORMATTED, ALIGNED" PDF file. We can refer the code base from File Watcher and create a Module for MSG/EML to PDF to plugin with a centralized .NET core microservices(#2975), which is intended to run on Linux based Docker container, in turn with our BC GOV OCP

Dependencies

Are there any dependencies?

DOD

aparna-aot commented 1 year ago

As per the decision at standup on 2022-11-22,moving this ticket to Icebox as the occurrence of .eml files would be very rare. So we can park this conversion. As of now .msg conversion is enough. Update on task : Created the independent .NET core class library for .EML (from S3) to PDF conversion. But .eml with attachments is not working as there are issues with the MsgReader used in .NET in getting the attachments of the .eml file .