Strip attachments from emails when converting#5
Conversation
|
This should be optional, because attachment conversion is a useful feature. One option could be avoid trying to convert too large attachments, e.g. whose byte size exceeds a defined threshold. An even better option would be to quickly parse the PDF to read the number of pages it is composed of, and specify the threshold as a maximum pages count. |
|
The previous behaviour was to convert the raw email to PDF, which for one example I had resulted in a 2000 page PDF file - the attachments weren't converted separately. It took around 60 seconds to perform, so if it's that big I'd prefer not to even attempt conversion. Note that this just strips them when converting to text or PDF. The email and attachments are still available in the original version. On 18 Jul 2016, 13:44 +0300, Marcello Barnabanotifications@github.com, wrote:
|
|
After 4yrs, I am now reconsidering this as a useful feature considering how much inherent junk is there in enterprise emails. |
Strips attachments from emails when converting to text and PDF. Prevents trying to create 2000 page PDF files 😄