Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-26561

Fix mail synchronization when the message body contains images

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 7.10
    • Fix Version/s: 10.10
    • Component/s: IMAP Connector
    • Release Notes Summary:
      IMAP Connector retrieves inline images in synchronized emails.
    • Tags:
    • Backlog priority:
      550
    • Sprint:
      nxAI Sprint 10.10.5
    • Story Points:
      5

      Description

      The document created from a mail with an inline image will not retrieve the image and therefore will not display it in the Text field.

      The mechanism implemented in the class ExtractMessageInformationAction to extract the mail information ignores some mail Parts if the mail MIME type is multipart/alternative. And attachments are only read if the MIME type is multipart/*

      Once the attachment will be correctly retrieved, it will be necessary to replace a part of the mail body to make a reference to the document files

          <img src="cid:part1.D86CE01E.4D165B01@nuxeo.com" alt="" />
      

      by

          <img src="/nuxeo/nxfile/default/d8054bd2-b2cd-4fa5-86b5-6e81029c3762/files:files/0/file/1ce927f875864094e3906a4a0b5ece68.jpg" alt="" />
      

      Please find attached an example of message with inline attachment.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 days
                2d