Page 1 of 1

REST POST /mail/importEml ignore inline attachments ID

PostPosted:Mon Mar 07, 2022 3:31 pm
by pluto
OpenKM 6.3.11 CE

Importing emails (.eml format) doesn't seem to work properly. It ignores Content-ID header and therefore OpenKM is not able to display email content in the right way.

I mean, if we have attachment
Code: Select all
--b1_795de3854849e6d6ab67b4a02a2a6a84
Content-Type: image/png; name="mail_pwa_otolampy.png"
Content-Transfer-Encoding: base64
Content-ID: <39c63a120387b44f82ff177ddfcdb437>
Content-Disposition: inline; filename="mail_pwa_otolampy.png"
and use it in the email content:
Code: Select all
               <tr style="height: 33px; width: 100%; width: 100%; padding: 0">
                  <td style="height: 41px;  padding: 0;">
                                          <img src="cid:39c63a120387b44f82ff177ddfcdb437" alt="otolampy" height="41" title="otolampy" />                  </td>
               </tr>
OpenKM 'Preview' shows nothing.

Is it just community edition issue? Does it work in enterprise?

Re: REST POST /mail/importEml ignore inline attachments ID

PostPosted:Sat Mar 12, 2022 10:31 am
by jllort
When import the eml file in the openkm from the UI like adding standard document, does it works?