0
My java application receives eml files, opens it, detects and reads attachments.
To detect the presence of an attachment, it looks for Content-Disposition: Attachment.
However, we recived files for which the Content-Disposition attribute is missing altogether in the received eml file.
- I was under the impression that this attribute always exists in emls. Why is this not present?
- Is this attribute added at the source of the eml file or while transfer over network.
- What settings need to be changed at the source of these eml files/ network transmission to include this attribute (Note: Source and method of transfer unknown)
- What can be changed in my java application to still detect and read attachment even if this attribute is not present
Do you mean
– Freddy – 2019-04-23T09:29:09.953Content-Disposition: inline
like in HTML-Email with inline attachments and non-inline attachments or EmailAttachment (Apache Commons Email)?Yes this is the Content-Disposition that I'm talking about – Nikhil – 2019-04-24T05:41:56.240