Tellier Benoit commented on MIME4J-275:

I guess there's a misunderstanding here, sorry.

What I meant here was that we should be able to retrieve the filename when the 
Content-Disposition header is missing (and only Content-Type:name)

> Unable to read content-type name, getFileName return null
> ---------------------------------------------------------
>                 Key: MIME4J-275
>                 URL: https://issues.apache.org/jira/browse/MIME4J-275
>             Project: James Mime4j
>          Issue Type: Bug
>          Components: parser (core)
>    Affects Versions: 0.8.1
>            Reporter: Raffaele Gambelli
>            Priority: Major
>         Attachments: vi_attachment_name.eml
> Hi all,
> I have an eml where there is a part like this:
> {quote}--___04381732116.93.1525348748___
> Content-Transfer-Encoding: Base64
> Content-type: application/pdf; Name="20180503_135905_043475033.pdf"
> {quote}
> I know that it is missing the content-disposition, but parser shouldn't be 
> able to read content-type name anyway? And doing so, part.getFileName() would 
> return that, am I wrong?

This message was sent by Atlassian JIRA

Reply via email to