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

Extension reading it as eml instead of txt

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.25
    • 1.24.1
    • core, mime
    • Hide
      Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.

      Thanks!

      William
      Cargill , CEO
      Office: +1 122 111 1111
      Office: +1 222 222 2222
      Email: williamj@cargill.com


      From: Mason, Evelyn <DMason@cargill.com>
      Sent: Thursday, January 16, 2020 2:19 PM
      To: William, James <williamj@cargill.com>; DL-CargillTest <Test@cargill.com> Super,User <JameG@cargill.com>; DL-Support <Support@cargill.com>
      Cc: DL-CriticalIncidentResponseTeam <cirt@cargill.com>
      Subject: RE: Cargill Errors - Demo Criminal

      William.

      It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for 'lorem ipsum' will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like).


      Evelyn

      Evelyn Mason
      Cargill | Manager - Critical Incidents
      Phone: +1 555 111 1234
      Mobile: +1 099 123-1234
      Email: dMason@cargill.com

      From: William, James <williamj@cargill.com>
      Sent: Thursday, January 16, 2020 2:13 PM
      To: Mason, Evelyn <DMason@cargill.com>; DL-CargillTest <Test@cargill.com> Super,User <JameG@cargill.com>; DL-Support <Support@cargill.com>
      Cc: DL-CriticalIncidentResponseTeam <cirt@cargill.com>
      Subject: RE: Cargill Errors - Demo Criminal

      Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of "de Finibus Bonorum et Malorum" (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, "Lorem ipsum dolor sit amet..", comes from a line in section 1.10.32.

      William, James
      Cargill | CEO
      Office: +1 122 111 1111
      Office: +1 222 222 2222
      Email: williamj@cargill.com


      From: Mason, Evelyn <DMason@cargill.com>
      Sent: Thursday, January 16, 2020 2:11 PM
      To: DL-CargillTest <Test@cargill.com> Super,User <JameG@cargill.com>; DL-Support <Support@cargill.com>
      Cc: DL-CriticalIncidentResponseTeam <cirt@cargill.com>
      Subject: Cargill Errors - Demo Criminal
      Importance: High

      All,

      There are many variations of passages of Lorem Ipsum available, but the majority have suffered alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use a passage of Lorem Ipsum, you need to be sure there isn't anything embarrassing hidden in the middle of text. All the Lorem Ipsum generators on the Internet tend to repeat predefined chunks as necessary, making this the first true generator on the Internet. It uses a dictionary of over 200 Latin words, combined with a handful of model sentence structures, to generate Lorem Ipsum which looks reasonable. The generated Lorem Ipsum is therefore always free from repetition, injected humour, or non-characteristic words etc.

       

      Evelyn

      Evelyn Mason
      Cargill | Manager - Critical Incidents
      Phone: +1 555 111 1234
      Mobile: +1 099 123-1234
      Email: dMason@cargill.com

      Show
      Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum. Thanks! William Cargill , CEO Office: +1 122 111 1111 Office: +1 222 222 2222 Email: williamj@cargill.com From: Mason, Evelyn < DMason@cargill.com > Sent: Thursday, January 16, 2020 2:19 PM To: William, James < williamj@cargill.com >; DL-CargillTest < Test@cargill.com > Super,User < JameG@cargill.com >; DL-Support < Support@cargill.com > Cc: DL-CriticalIncidentResponseTeam < cirt@cargill.com > Subject: RE: Cargill Errors - Demo Criminal William. It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for 'lorem ipsum' will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like). Evelyn Evelyn Mason Cargill | Manager - Critical Incidents Phone: +1 555 111 1234 Mobile: +1 099 123-1234 Email: dMason@cargill.com From: William, James < williamj@cargill.com > Sent: Thursday, January 16, 2020 2:13 PM To: Mason, Evelyn < DMason@cargill.com >; DL-CargillTest < Test@cargill.com > Super,User < JameG@cargill.com >; DL-Support < Support@cargill.com > Cc: DL-CriticalIncidentResponseTeam < cirt@cargill.com > Subject: RE: Cargill Errors - Demo Criminal Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of "de Finibus Bonorum et Malorum" (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, "Lorem ipsum dolor sit amet..", comes from a line in section 1.10.32. William, James Cargill | CEO Office: +1 122 111 1111 Office: +1 222 222 2222 Email: williamj@cargill.com From: Mason, Evelyn < DMason@cargill.com > Sent: Thursday, January 16, 2020 2:11 PM To: DL-CargillTest < Test@cargill.com > Super,User < JameG@cargill.com >; DL-Support < Support@cargill.com > Cc: DL-CriticalIncidentResponseTeam < cirt@cargill.com > Subject: Cargill Errors - Demo Criminal Importance: High All, There are many variations of passages of Lorem Ipsum available, but the majority have suffered alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use a passage of Lorem Ipsum, you need to be sure there isn't anything embarrassing hidden in the middle of text. All the Lorem Ipsum generators on the Internet tend to repeat predefined chunks as necessary, making this the first true generator on the Internet. It uses a dictionary of over 200 Latin words, combined with a handful of model sentence structures, to generate Lorem Ipsum which looks reasonable. The generated Lorem Ipsum is therefore always free from repetition, injected humour, or non-characteristic words etc.   Evelyn Evelyn Mason Cargill | Manager - Critical Incidents Phone: +1 555 111 1234 Mobile: +1 099 123-1234 Email: dMason@cargill.com

    Description

      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.

      Attachments

        1. image-2021-02-23-12-39-00-778.png
          66 kB
          Tika User
        2. image-2021-02-22-10-13-08-447.png
          1.17 MB
          Tika User
        3. test_sample_message.txt
          4 kB
          Tika User

        Activity

          People

            Unassigned Unassigned
            Vamsi452 Tika User
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: