Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-10825

POP/IMAP service: JIRA loses HTML part of some (multipart/related) emails

    XMLWordPrintable

Details

    Description

      If JIRA is configured to create/comment issues from email, and encounters a mixed HTML/image email with a MIME part:

      Content-Type: multipart/related;
          type="text/html"
      

      Then JIRA will fail to parse the HTML part of the email, and logs this:

      2006-08-10 14:43:50,452 WARN [jira.issue.managers.DefaultAttachmentManager] Creating attachment without a file. Aborting

      Here are the headers from an email:

      X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0^M
      MIME-Version: 1.0^M
      Content-Type: multipart/related;^M
              type="text/html";^M
              boundary="----_=_NextPart_001_01C6BB93.375A48EB"^M
      .....
      
      This is a multi-part message in MIME format.^M
      ^M
      ------_=_NextPart_001_01C6BB93.375A48EB^M
      Content-Type: text/html;^M
              charset="iso-8859-1"^M
      Content-Transfer-Encoding: quoted-printable^M
      ^M
      <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =^M
      ....
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              7ee5c68a815f Jeff Turner
              Votes:
              15 Vote for this issue
              Watchers:
              30 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: