[ 
https://issues.apache.org/jira/browse/TIKA-2037?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15393707#comment-15393707
 ] 

Hudson commented on TIKA-2037:
------------------------------

FAILURE: Integrated in tika-2.x-windows #28 (See 
[https://builds.apache.org/job/tika-2.x-windows/28/])
TIKA-2037 RFC822Parser should wrap the James InputStream of embedded (nick: rev 
31374a39bae03bfc260f73662c133467637193f1)
* CHANGES.txt
* 
tika-parser-modules/tika-parser-web-module/src/test/java/org/apache/tika/parser/mail/RFC822ParserTest.java
* 
tika-parser-modules/tika-parser-office-module/src/test/java/org/apache/tika/parser/mbox/MboxParserTest.java
* 
tika-parser-modules/tika-parser-web-module/src/main/java/org/apache/tika/parser/mail/MailContentHandler.java
TIKA-2037 Merge fixes for 2.x (nick: rev 
f89887d2fbaa3949c398095b37322208a3fd4c7a)
* 
tika-parser-modules/tika-parser-web-module/src/main/java/org/apache/tika/parser/mail/MailContentHandler.java
* tika-parsers/src/test/resources/test-documents/testEmailWithPNGAtt.eml
* tika-test-resources/src/test/resources/test-documents/testEmailWithPNGAtt.eml


> Problems with email attachments
> -------------------------------
>
>                 Key: TIKA-2037
>                 URL: https://issues.apache.org/jira/browse/TIKA-2037
>             Project: Tika
>          Issue Type: Bug
>          Components: detector, parser
>    Affects Versions: 1.13
>         Environment: Eclipse, Java 8
>            Reporter: Eli Trucco
>            Priority: Minor
>             Fix For: 1.14
>
>         Attachments: CameraCalibration.eml, Exkursion.eml
>
>
> I stumbled across a couple of problems while parsing and extracting 
> attachments from .eml files from Thunderbird. Some of them are wrongly 
> identified (as text/html, or application/xhtml+xml) and in a lot of them, the 
> attachments are not detected. I tried to parse 20 random eml files with 
> attachments (pdf,txt,html,etc), and at least 10 of them are either identified 
> as html, or correctly identified as rfc822 but the attachments are not 
> extracted. I tried the same files using TikaCLI -z option with the same 
> result.
> What I did: I extended the class ParsingEmbeddedDocumentExtractor to extract 
> and store the attachments somewhere else (exactly as shown in this example 
> code 
> https://github.com/apache/tika/blob/master/tika-example/src/main/java/org/apache/tika/example/ExtractEmbeddedFiles.java).
>  



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to