Uploaded image for project: 'Tika'
  1. Tika
  2. TIKA-2454

Emails extracted from PSTs detected as unexpected file types

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.16
    • 1.17
    • detector, parser
    • None

    Description

      This issue is severe. The Outlook PST parser extracts a string for the body of every email and passes that string to the EmbeddedDocumentExtractor.

      However, no content type is set on the Metadata object passed to the extractor. Therefore, if for example, the body of the email starts with the string "From John Smith." (for example, when an email was forwarded), then body of the email is detected as application/mbox and parsed as though it were an mbox file.

      I think the immediate fix for this issue is to force the type of the email to text/plain and for it to be parsed as such.

      Attachments

        Activity

          People

            Unassigned Unassigned
            mcaruanagalizia Matthew Caruana Galizia
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: