#1486338 closed Bugs (fixed)
don't show some message in HTML format
| Reported by: | lmsilvero | Owned by: | |
|---|---|---|---|
| Priority: | 5 | Milestone: | 0.4-beta |
| Component: | MIME parsing | Version: | 0.3.1 |
| Severity: | normal | Keywords: | |
| Cc: |
Description
The same message is correctly in version 0.1-STABLE and is not in version 0.3.1.
I tried to change the header to send the messages, but do not think the problem is there, since in both versions of RC is shown as the header.
This is the header:
Return-Path: <test@…>
X-Spam-Checker-Version: SpamAssassin? 3.2.5 (2008-06-10) on server.domain.tld
X-Spam-Level:
X-Spam-Status: No, score=6.7 required=8.0 tests=AWL,HTML_MESSAGE,
HTML_MIME_NO_HTML_TAG,MIME_HEADER_CTYPE_ONLY,MIME_ HTML_ONLY,NO_DNS_FOR_FROM,
NO_RECEIVED,NO_RELAYS,SUBJ_ALL_CAPS autolearn=no version=3.2.5
X-Original-To: user1@…
Delivered-To: user1@…
To: user1@…
Subject: TESTING
From: SENDER <sender@…>
Reply-To: sender@…
X-Originally_To: sender@…
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Message-Id: <20091202112501.7F81F1438C@…>
Date: Wed, 2 Dec 2009 08:25:01 -0300 (ART)
X-Virus-Status: No
X-Virus-Checker-Version: clamassassin 1.2.4 with clamscan / ClamAV 0.93.3/10103/Wed Dec 2 00:59:01 2009
In version 0.1-STABLE can see the HTML, but in 0.3.1 version shows the body tags as follows:
<div style='width: 100%; margin: 0; padding: 0; color: #555; background-color: #FFF; text-align: center; font: 12px "Trebuchet MS", Tahoma, Sans-serif;'>
<div style='height: 50px; text-align: left; border-bottom: #C6DD81 4px solid; width: 100%;'>
<h1 style='font-weight:bold; margin:0px; font-size: 17px; color: #222;'><span style='color: #8CC63F;'>TEST</span></h1>
Some HTML messages are not interpreted and also the following characters appear in the header --> and this:
v\:* { BEHAVIOR: url(#default#VML) } o\:* { BEHAVIOR: url(#default#VML) } w\:* { BEHAVIOR: url(#default#VML) } .shape { BEHAVIOR: url(#default#VML) } --> UPSTI02NormalUPSTI02302007-01-03T12:37:00Z2007-01-03T12:38:00Z1215111611.810795CleanClean21falsefals efalseMicrosoftInternetExplorer4 --> /* Style Definitions */ table.MsoNormalTable? {mso-style-name:"Tabla normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-parent:""; mso-padding-alt:0cm 5.4pt 0cm 5.4pt; mso-para-margin:0cm; mso-para-margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:10.0pt; font-family:"Times New Roman"; mso-ansi-language:#0400; mso-fareast-language:#0400; mso-bidi-language:#0400;} -->
I tried to download the latest update svn checkout https://svn.roundcube.net/trunk, but everything was the same.
I created a new installation, with a new DB, but the problem persists.
Attachments (3)
Change History (18)
comment:1 Changed 3 years ago by alec
- Milestone changed from later to 0.4-beta
comment:2 Changed 3 years ago by alec
- Resolution set to fixed
- Status changed from new to closed
Probably fixed in [f96ffde2]. Works for me. BTW, message contains malformed HTML - nested comments.
comment:3 Changed 3 years ago by borigoto
- Resolution fixed deleted
- Status changed from closed to reopened
Hi! First, sorry, my english is very bad...
I have the same error, but, not exist comments in my message.
See the source code:
Return-Path: <anonymous@domain.tld>
Delivered-To: user1@domain.tld
Received: (qmail 303 invoked by uid 1208); 8 Jan 2010 12:49:03 -0000
Date: 8 Jan 2010 12:49:03 -0000
Message-ID: <20100108124903.302.qmail@domain.tdl>
To: user1@domain.tld
Subject: XXXXXXXXXX
From: user1@domain.tld
Content-type: text/html; charset=utf-8
<html>
<body>
<b>Nome:</b> name<br />
<b>E-mail:</b> user1@domain.tld<br />
<b>Telefone:</b> (11) 12345678<br />
<b>Assunto:</b> assunto<br />
<b>Mensagem:</b> message<br />
</body>
</html>
I'm using 0.3.1 instaled from zero.
In 0.2 version, this message is show ok!
[]'S
comment:4 Changed 3 years ago by alec
- Resolution set to fixed
- Status changed from reopened to closed
Works for me with svn-trunk version.
comment:5 Changed 3 years ago by borigoto
- Resolution fixed deleted
- Status changed from closed to reopened
Hi Alec!
I'm create new installation from:
svn checkout https://svn.roundcube.net/trunk
The sign is: RoundCube Webmail/0.3-trunk, but, the problem persists...
What is a file used to show messages? I look but not sure exactly file..
[]'s
comment:6 Changed 3 years ago by alec
what PHP version/OS, what browser? check Roundcube logs.
comment:7 Changed 3 years ago by borigoto
Hi Alec,
I use PHP:
~# php -v
PHP 5.2.6-1+lenny4 with Suhosin-Patch 0.9.6.2 (cli) (built: Nov 22 2009 02:38:03)
Copyright (c) 1997-2008 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies
And OS is:
~# uname -a
Linux lm1-vgt 2.6.26-2-686-bigmem #1 SMP Wed Nov 4 21:12:12 UTC 2009 i686 GNU/Linux
~# cat /etc/issue
Debian GNU/Linux 5.0 \n \l
100% stable.
Again, old version of RoundCube, show the message correctly.
I tested version from SVN and 0.3.1 in other 2 machines, Debian SID and Debian Testing, ever installing from zero, and, same problem :(
I using for tests IE8, Chrome and Firefox 3.5 from Windows, and Chrome 4.0.266.0, Iceweasel 3.5.5, Opera 10.10 from Linux..
This error not happen for all message.
This example message is create by php mail function.
HTML messages created by Thunderbird, OE and RoundCube, are displayed correctly..
[]'s and TFA!
comment:8 Changed 3 years ago by borigoto
Alec
I forgot, use the logs in syslog and saw no errors in my tests
[] s
comment:9 Changed 3 years ago by alec
What about Roundcube /logs dir? What IMAP server? Enable imap_debug and show log.
Changed 3 years ago by borigoto
Changed 3 years ago by borigoto
comment:10 Changed 3 years ago by borigoto
Hi Alec,
See the attach!
Those files are created from other zero instalation at Debian Sid, and logs contains only one access at system and the message on error.
Again, sorry my english..
[]'s and TFA
comment:11 Changed 3 years ago by alec
- Resolution set to fixed
- Status changed from reopened to closed
So, now I see the message is malformed. Contains "Content-type:" instead of "Content-Type:" and that's why your server returs it as text/plain in BODYSTRUCTURE. So, will not fix this.
comment:12 Changed 3 years ago by borigoto
- Resolution fixed deleted
- Status changed from closed to reopened
Mostrar romanização
I understand ... but I do not believe that is the problem.
First, because as I said before, in the earlier version works correctly, second because I created a new message with the Type and still not being displayed as HTML ..
I did a grep-i in the code, content-type and found several places that the system uses the same type tiny.
Below, the source code itself roundcube showed me:
Return-Path: <anonymous@domain.tdl>
Delivered-To: tiago@domain.tdl
Received: (qmail 303 invoked by uid 1208); 8 Jan 2010 12:49:03 -0000
Date: 8 Jan 2010 12:49:03 -0000
Message-ID: <20100108124903.302.qmail@domain.tdl>
To: tiago@domain.tdl
Subject: Contato - Vila Doce
From: tiago@domain.tdl
Content-Type: text/html; charset=utf-8
<html>
<body>
<b>Nome:</b> name<br />
<b>E-mail:</b> tiago@domain.tdl<br />
<b>Telefone:</b> (11) 12345678<br />
<b>Assunto:</b> assunto<br />
<b>Mensagem:</b> message<br />
</body>
</html>
Sorry for insistence..
Have another idea ??
How can help more ??
[]'s
comment:13 Changed 3 years ago by borigoto
Alec,
this is the code that creates the message:
mail($email,$subject,"
<html>
<body>
<b>Nome:</b> $name<br />
<b>E-mail:</b> $sender<br />
<b>Telefone:</b> ($ddd) $tel<br />
<b>Assunto:</b> $assunto<br />
<b>Mensagem:</b> $message<br />
</body>
</html>","From: $sender \n" . "Content-Type: text/html; charset=utf-8")
[]'s
comment:14 Changed 3 years ago by alec
- Resolution set to fixed
- Status changed from reopened to closed
More important is what returns your server in BODYSTRUCTIRE, if it returns text/plain for such message we can do nothing about that. Please open a new ticket if you want, because your problem is different.
comment:15 Changed 3 years ago by borigoto
Hi alec.
Thanks for help-me.
I'm try two other versions, 0.3-stable (1 minus i user) and trunk-[4a42653f]-20090729 from nightly.roundcube.net, and, working good....
Realy i dont understand because only 3.1 not work, but, no problem..
I change version from my server.
Again, thanks for your help!
[]'s

Attach sample message source, please.