[
https://issues.apache.org/jira/browse/TIKA-3290?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17288586#comment-17288586
]
Luís Filipe Nassif commented on TIKA-3290:
------------------------------------------
You can use MimeConfig.Builder() to instantiate, but must use
context.set(MimeConfig.class, mimeConfig);
Also I _think_ you should not call parser.setParsers(new HashMap<>()), maybe it
will clear the list of installed parsers, are you getting results with other
formats with that?
> Extension reading it as eml instead of txt
> ------------------------------------------
>
> Key: TIKA-3290
> URL: https://issues.apache.org/jira/browse/TIKA-3290
> Project: Tika
> Issue Type: Bug
> Components: core, mime
> Affects Versions: 1.25
> Reporter: Vamsi Molli
> Priority: Major
> Labels: tika-parsers
> Fix For: 1.24.1
>
> Attachments: image-2021-02-22-10-13-08-447.png,
> test_sample_message.txt
>
>
> The attached file extension is reading it as eml instead of txt. With version
> 1.24.1 it is reading it as txt and now with the upgrade to 1.25, it is
> reading it as eml. So that while parsing we are getting mail corrupted error.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)