Raffaele Gambelli commented on MIME4J-275:

Thx Benoit, but if it's valid so if it's normal that getFilename() doesn't 
return "name" attribute of Content-type, then which method should I call to 
retrieve that attribute?

There I have a org.apache.james.mime4j.dom.Entity and I don't see a suitable 
method, thanx

> 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