Hi, 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. Jorge PS: A simplified version of the raw email to reproduce the problem is as follows: MIME-Version: 1.0 From: FROMPERSON <[email protected]> Date: Fri, 7 Feb 2020 13:13:25 -0300 Subject: IM4 - with X-Attachment-Id AND with Content-ID To: "DDESTINATION" <[email protected]> Content-Type: multipart/mixed; boundary="000000000000134e5e059dfeac92" X-PMFLAGS: 570949760 0 5 YZD01IM4.CNM --000000000000134e5e059dfeac92 Content-Type: multipart/alternative; boundary="000000000000134e5b059dfeac90" --000000000000134e5b059dfeac90 Content-Type: text/plain; charset="UTF-8" Text plain content --000000000000134e5b059dfeac90 Content-Type: text/html; charset="UTF-8" <div dir="ltr">HTML text content</div> --000000000000134e5b059dfeac90-- --000000000000134e5e059dfeac92 Content-Type: image/jpeg; name="image1.jpg" Content-Disposition: attachment; filename="image1.jpg" Content-Transfer-Encoding: base64 Content-ID: <f_k6cdcld40> /9j/4AAQSkZJRgABAQEASABIAAD/2wBDAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEB AQEBAQICAQECAQEBAgICAgICAgICAQICAgICAgICAgL/2wBDAQEBAQEBAQEBAQECAQEBAgICAgIC AgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgL/wgARCAAJAAgDASIA AhEBAxEB/8QAFgABAQEAAAAAAAAAAAAAAAAAAAgJ/8QAFQEBAQAAAAAAAAAAAAAAAAAABwj/2gAM AwEAAhADEAAAAdHUdGeYv//EABYQAAMAAAAAAAAAAAAAAAAAAAUQF//aAAgBAQABBQKhBl//xAAb EQAABwEAAAAAAAAAAAAAAAAAAQMGFlOT0f/aAAgBAwEBPwGeOCxLIuj/xAAZEQABBQAAAAAAAAAA AAAAAAAAAgUWUpL/2gAIAQIBAT8BjLXVez//xAAZEAABBQAAAAAAAAAAAAAAAAAEBRA0k9T/2gAI AQEABj8CjKdIu1v/xAAUEAEAAAAAAAAAAAAAAAAAAAAQ/9oACAEBAAE/IR9//9oADAMBAAIAAwAA ABDL/8QAFBEBAAAAAAAAAAAAAAAAAAAAAP/aAAgBAwEBPxBw/8QAFhEAAwAAAAAAAAAAAAAAAAAA ANHx/9oACAECAQE/EL5H/8QAFBABAAAAAAAAAAAAAAAAAAAAEP/aAAgBAQABPxA9/wD/2Q== --000000000000134e5e059dfeac92-- _______________________________________________ Roundcube Users mailing list [email protected] http://lists.roundcube.net/mailman/listinfo/users
