[RCU] RC version 1.4.2 problems with some attached images

Jorge Listas susclistas at gmail.com
Fri Feb 7 21:22:58 CET 2020


Since updating Roundcube from version 1.3.6 to 1.4.2 I have problems with 
some emails from GMAIL generated from a mobile phone with an attached image.

When viewing the email, Roundcube does not detect that it has an attachment, 
but if I reply or forward that email it does.

I have detected that the problem appears when the attachment has a 
"Content-ID:" valued header and is not used as an inline image.

For example, if the attached image is defined like this, Roundcube does not 
detect the attachment:
Content-Type: image / jpeg; name = "image1.jpg"
Content-Disposition: attachment; filename = "image1.jpg"
Content-Transfer-Encoding: base64
Content-ID: <f_k6cdcld40>

On the other hand, if it is defined without Content-ID, Roundcube does 
detect the attachment and preview the image:
Content-Type: image / jpeg; name = "image1.jpg"
Content-Disposition: attachment; filename = "image1.jpg"
Content-Transfer-Encoding: base64

Has anyone had this problem? Could you solve it?  Is it a program problem or 
something that I have configured incorrectly?

Thanks in advance.


PS: A simplified version of the raw email to reproduce the problem is as 

MIME-Version: 1.0
From: FROMPERSON <fromabc en gmail.com>
Date: Fri, 7 Feb 2020 13:13:25 -0300
Subject: IM4 - with X-Attachment-Id AND with Content-ID
To: "DDESTINATION" <email en domain.com>
Content-Type: multipart/mixed; boundary="000000000000134e5e059dfeac92"
X-PMFLAGS: 570949760 0 5 YZD01IM4.CNM

Content-Type: multipart/alternative; boundary="000000000000134e5b059dfeac90"

Content-Type: text/plain; charset="UTF-8"

Text plain content

Content-Type: text/html; charset="UTF-8"

<div dir="ltr">HTML text content</div>

Content-Type: image/jpeg; name="image1.jpg"
Content-Disposition: attachment; filename="image1.jpg"
Content-Transfer-Encoding: base64
Content-ID: <f_k6cdcld40>


More information about the users mailing list