Roundcube Community Forum

 

Empty messages

Started by Fredrik, November 18, 2007, 11:58:58 PM

Previous topic - Next topic

Fredrik

Hi, Ive just installed Roundcube 0.1Rc2 ad found one problem. When viewing some messages the body doesn't show up so I have to check the source instead. I saw that some people had problems viewing mails from yahoo but i have one in my inbox and that one shows up fine. The ones that doesnt show up are auto-messages from a phpbb forum.

Here's an example of a message where th ebody does not show up in RC.
Return-Path: <[email protected]>
Received: from cpanel2.uni-q.se (cpanel2.uni-q.se [193.108.196.49])
by mail.mydomain.se (8.13.8/8.13.8) with ESMTP id lAGLYlKc007686
(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO)
for <[email protected]>; Fri, 16 Nov 2007 22:34:48 +0100
Received: from localhost ([127.0.0.1]:23695)
by cpanel2.uni-q.se with smtp (Exim 4.68)
(envelope-from <[email protected]>)
id 1It8qP-0003fW-Rg; Fri, 16 Nov 2007 22:35:22 +0100
Subject: Meddelande om svar=?ISO-8859-1?Q?=20p=E5=20?==?ISO-8859-1?Q?inl=E4gg=20?=-
Information om
MegaSquirt,=?ISO-8859-1?Q?=20st=E4ll=20?==?ISO-8859-1?Q?fr=E5gor=20?==?ISO-
8859-1?Q?h=E4r?=.
To: Undisclosed-recipients:;
Reply-to: [email][email protected][/email]
From: [email][email protected][/email]
Message-ID: <[email protected]>
MIME-Version: 1.0
Content-type: text/plain charset=ISO-8859-1
Date: Fri, 16 Nov 2007 22:35:11 +0100
Precedence: bulk
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: PHP
X-MimeOLE: Produced By phpBB2 - codemonkey.se / Uni-Q Systems
X-AntiAbuse: This header was added to track abuse, please include it with any abuse report
X-AntiAbuse: Primary Hostname - cpanel2.uni-q.se
X-AntiAbuse: Original Domain - mydomain.se
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain - saabturboclub.com
X-Source:
X-Source-Args:
X-Source-Dir:
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by mail.yman.se id lAGLYlKc007686

Hej,

Du fÃ¥r detta meddelande för att du bevakar ämnet, &quot;Information om MegaSquirt, ställ frÃ¥gor här.&quot; pÃ¥ forum.saabturboclub.com. Ã,,mnet har fÃ¥tt ett svar sedan ditt senaste besök. Du kan använder länken nedan för att se svaren, inga fler meddelande ska skickas till dig tills du besöka ämnet.

[url]http://forum.saabturboclub.com/viewtopic.php?p=1464845#1464845[/url]

Om du inte vill bevaka detta ämne i fortsättningen kan du antingen klicka på &quot;Bevaka ej detta ämne länk&quot; som finns nederst på ämnessidan, eller klicka på länken nedan:

[url]http://forum.saabturboclub.com/viewtopic.php?t=50128&unwatch=topic[/url]

--
Med vänliga hälsningar,
  SAAB Turbo Club of Sweden.


/Fredrik

henlon

I have the same problems with some messages with the same version.

There are no problems with the message body in older versions of RC

rosali

The problem is here ...

Content-type: text/plain charset=ISO-8859-1

It should be ...

Content-type: text/plain; charset="ISO-8859-1"

I will ask devs on trac to make RoundCube to tolerate it.

PS: It is simple to track down things if users always would provide test code! Compliments Fredrik!
Regards,
Rosali

henlon

I have the same problem in some messages.

There are no problem to se the message content in my previous version of RC but in 0.2 the content window is empty.

If I look in the source code of the message the MIME type looks like this:

MIME-Version: 1.0
Content-Type: multipart/alternative;
   boundary="b1_f79d3f080761a3aff4a9e6d806223f44"


--b1_f79d3f080761a3aff4a9e6d806223f44
Content-Type: text/plain; charset = "iso-8859-1"
Content-Transfer-Encoding: quoted-printable

What's the difference between the previous version of RC and how it pars the text?
How do I solve the problem?

rosali

I don't know ... problem is addressed to trac. Frederic's test message was displayed when editing content-type header field to ...

text/plain; charset = iso-8859-1

(SVN trunk r2090)
Regards,
Rosali

fms

#5
Hi Rosali and Round Cube Team!

Your work is just wonderful!!!

I'm having here various messages that appear with empty body when opened on Round Cube 0.3 beta. If you give me some "directions" on where to look into the code to correct this, I could try to fix??

** I had to CUT DOWN the code below to max 10,000 chars, so.. I cutted part of 'html code' into the message and almost all 'base 64 code' of the attached image ok!

Thanks!


Return-path: <[email protected]>
Received: from FMS ([192.168.0.132])
(authenticated user [email protected])
by hy.com.br (mail.gramadosite.com.br [200.203.101.25])
with ESMTP id 3-md50000000600.tmp
for <[email protected]>; Fri, 03 Jul 2009 08:36:59 -0300
Message-ID: <A1F00B6AC3FB4676A8D759D0AE33EFC0@FMS>
From: &quot;Francisco Miralha da Silveira&quot; <[email protected]>
To: <[email protected]>
Subject: =?Windows-1252?Q?Fw:_email_roundcube_dont_open?=
Date: Fri, 3 Jul 2009 08:37:29 -0300
MIME-Version: 1.0
Content-Type: multipart/mixed;
boundary=&quot;----=_NextPart_000_0029_01C9FBB9.803861B0&quot;
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Windows Mail 6.0.6001.18000
Disposition-Notification-To: &quot;Francisco Miralha da Silveira&quot; <[email protected]>
X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6001.18049
X-Authenticated-Sender: [email protected]
X-Spam-Processed: mail.gramadosite.com.br, Fri, 03 Jul 2009 08:36:59 -0300
(not processed: message from valid local sender)
X-Lookup-Warning: HELO/EHLO lookup on FMS does not match 192.168.0.132
X-MDRcpt-To: [email protected]
X-MDRemoteIP: 192.168.0.132
X-Return-Path: [email protected]
X-MDaemon-Deliver-To: [email protected]
Reply-To: [email protected]

This is a multi-part message in MIME format.

------=_NextPart_000_0029_01C9FBB9.803861B0
Content-Type: multipart/related;
boundary=&quot;----=_NextPart_001_002A_01C9FBB9.8038AFD0&quot;;
type=&quot;multipart/alternative&quot;

------=_NextPart_001_002A_01C9FBB9.8038AFD0
Content-Type: multipart/alternative;
boundary=&quot;----=_NextPart_002_002B_01C9FBB9.8038AFD0&quot;

------=_NextPart_002_002B_01C9FBB9.8038AFD0
Content-Type: text/plain;
charset=&quot;Windows-1252&quot;
Content-Transfer-Encoding: quoted-printable


Francisco Miralha da Silveira
GramadoSite.com
----- Original Message -----=20
From: XXXXX=20
To: Francisco Miralha da Silveira- GramadoSite=20
Sent: Wednesday, July 01, 2009 3:57 PM
Subject: Hi! Watch Hairspray on Cine Gourmet do Hotel =
clclclclclcclclc



=20
Hi Francisco!

Nono non ono nono no no non oonono nonon ononon ononono nono nonono, no =
Onono non ono nonononon ononononoono nonon ononon ononononononon =
Non on ononononon ononononon ononononono nononono nononononoo =
Ono nononoon onon.

See you!

XXXXXXXXXXXX XXXX
[email protected]

=20

CINE GOURMET BROADWAY VAI FAZER A SUA CABE=C7A NO M=CAS DE JULHO

=20

=20

                                           Em cartaz, o animado musical =
=93Hairspray =96 Em Busca da Fama=94 e a elogiada chef carioca Flavia =
Quaresma=20

=20

=20

INFORMA=C7=D5ES COMPLETAS, FOTOS E OUTROS DETALHES EST=C3O EM =
www.mmmmmmmmmm.com.br/cinegourmet

[email protected] =96 www.mmmmmmmmmm.com.br

------=_NextPart_002_002B_01C9FBB9.8038AFD0
Content-Type: text/html;
charset=&quot;Windows-1252&quot;
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0 Transitional//EN&quot;>
<HTML xmlns:o =3D &quot;urn:schemas-microsoft-com:office:office&quot;><HEAD>
<META content=3D&quot;text/html; charset=3Dwindows-1252&quot; =
http-equiv=3DContent-Type><BASE=20
href=3D&quot;file://C:\Temp\&quot;><!-- saved from url=3D(0022)http://internet.e-mail -->
<STYLE type=3Dtext/css media=3Dall>BODY {
MARGIN-TOP: 240px; BACKGROUND-REPEAT: no-repeat; FONT-FAMILY: =
&quot;Trebuchet MS&quot;, Arial, Helvetica, sans-serif; BACKGROUND-POSITION: left =
top; MARGIN-LEFT: 18px; FONT-SIZE: 13px
}
</STYLE>

<META name=3DGENERATOR content=3D&quot;MSHTML 8.00.6001.18783&quot;></HEAD>
<BODY background=3Dcid:D22EDDE5924244B7B2BF68AAEB7D309D@FMS =
bgColor=3D#ffffff>
<DIV>&nbsp;</DIV>
<DIV><FONT size=3D2 face=3DArial>Francisco =
Silveira<BR>GramadoSite.com<BR>(54) 3286=20
2078<BR>(54) 96278650<BR><A=20
href=3D&quot;mailto:[email protected]&quot;>[email protected]=
om.br</A></FONT></DIV>
<DIV style=3D&quot;FONT: 10pt arial&quot;>----- Original Message -----=20
<DIV style=3D&quot;BACKGROUND: #e4e4e4; font-color: black&quot;><B>From:</B> <A=20
[email protected] =
href=3D&quot;mailto:[email protected]&quot;>Francisco=20
Silveira</A> </DIV>
<DIV><B>To:</B> <A [email protected]=20
href=3D&quot;mailto:[email protected]&quot;>Francisco Silveira</A> =
</DIV>
<DIV><B>Cc:</B> <A [email protected]=20
href=3D&quot;mailto:[email protected]&quot;>Francisco Silveira</A> </DIV>
<DIV><B>Sent:</B> Wednesday, July 01, 2009 3:57 PM</DIV>
<DIV><B>Subject:</B> Hi! Watch Hairspray on Cine Gourmet do Hotel=20
Hotel clclclclclcclclc</DIV></DIV>
<DIV><BR></DIV>
<DIV><FONT size=3D2 face=3DVerdana></FONT><BR>&nbsp;</DIV>
<DIV>Hi Francisco!</DIV>
<DIV><FONT size=3D2 face=3DVerdana>Nono non ono nono no no non oonono nonon ononon ononono nono nonono, no =
Onono non ono nonononon ononononoono nonon ononon ononononononon =
Non on ononononon ononononon ononononono nononono nononononoo =
Ono nononoon onon.

See you!

XXXXXXXXXXXX XXXX
[email protected]

=20
</FONT><BR></DIV>=

<DIV>
<P style=3D&quot;MARGIN: 0cm 0cm 0pt&quot; class=3DMsoBodyText><SPAN=20
style=3D&quot;FONT-FAMILY: Verdana; FONT-SIZE: 10pt; mso-bidi-font-family: =
Arial&quot;><STRONG>&nbsp;<o:p></o:p></STRONG></SPAN></P>
<P style=3D&quot;TEXT-ALIGN: center; LINE-HEIGHT: 115%; MARGIN: 0cm 0cm 0pt&quot;=20
class=3DMsoNormal align=3Dcenter><SPAN=20
style=3D&quot;FONT-FAMILY: Verdana; FONT-SIZE: 18pt; mso-bidi-font-family: =
Tahoma; mso-bidi-font-style: italic&quot;><STRONG>CINE=20
GOURMET BROADWAY VAI FAZER A SUA CABE=C7A NO M=CAS DE=20
JULHO<o:p></o:p></STRONG></SPAN></P>
<P style=3D&quot;MARGIN: 0cm 0cm 0pt&quot; class=3DMsoBodyText><SPAN=20
style=3D&quot;FONT-FAMILY: Verdana; FONT-SIZE: 10pt; FONT-WEIGHT: normal; =
mso-bidi-font-family: Arial; mso-bidi-font-style: =
italic&quot;>&nbsp;<o:p></o:p></SPAN></P>
<P style=3D&quot;MARGIN: 0cm 0cm 0pt&quot; class=3DMsoBodyText><SPAN=20
style=3D&quot;FONT-FAMILY: Verdana; FONT-SIZE: 10pt; FONT-WEIGHT: normal; =
mso-bidi-font-family: Arial; mso-bidi-font-style: =
italic&quot;>&nbsp;<o:p></o:p></SPAN></P>
<P style=3D&quot;MARGIN: 0cm 0cm 0pt&quot; class=3DMsoBodyText><SPAN=20
style=3D&quot;FONT-FAMILY: Verdana; FONT-SIZE: 10pt; FONT-WEIGHT: normal; =
mso-bidi-font-family: Arial&quot;>INFORMA=C7=D5ES=20
COMPLETAS, FOTOS E OUTROS DETALHES EST=C3O EM<SPAN style=3D&quot;COLOR: =
#333333&quot;> <A=20
href=3D&quot;http://www.mmmmmmmmmm.com.br/cinegourmet&quot; target=3D_blank><SPAN=20
style=3D&quot;COLOR: =
purple&quot;>www.mmmmmmmmmm.com.br/cinegourmet</SPAN></A></SPAN><I><o:p></o:p>=
</I></SPAN></P>
<P style=3D&quot;TEXT-ALIGN: center; MARGIN: 0cm 0cm 0pt&quot; class=3DMsoNormal=20
align=3Dcenter><SPAN=20
style=3D&quot;FONT-FAMILY: Verdana; FONT-SIZE: 10pt; mso-bidi-font-family: =
Arial&quot;>&nbsp;<o:p></o:p></SPAN></P>
<P style=3D&quot;TEXT-ALIGN: center; MARGIN: 0cm 0cm 0pt&quot; class=3DMsoNormal=20
align=3Dcenter><SPAN=20
style=3D&quot;FONT-FAMILY: Verdana; FONT-SIZE: 10pt; mso-bidi-font-family: =
Arial&quot;>&nbsp;<o:p></o:p></SPAN></P>
<P style=3D&quot;TEXT-ALIGN: center; MARGIN: 0cm 0cm 0pt&quot; class=3DMsoNormal=20
align=3Dcenter><SPAN=20
style=3D&quot;FONT-FAMILY: Verdana; FONT-SIZE: 10pt; mso-bidi-font-family: =
Arial&quot;>&nbsp;<o:p></o:p></SPAN></P>
<P style=3D&quot;TEXT-ALIGN: center; MARGIN: 0cm 0cm 0pt&quot; class=3DMsoNormal=20
align=3Dcenter><SPAN=20
style=3D&quot;FONT-FAMILY: Verdana; FONT-SIZE: 10pt; mso-bidi-font-family: =
Arial&quot;>&nbsp;<o:p></o:p></SPAN></P>
<P style=3D&quot;TEXT-ALIGN: center; MARGIN: 0cm 0cm 0pt&quot; class=3DMsoNormal=20
align=3Dcenter><SPAN=20
style=3D&quot;FONT-FAMILY: Verdana; FONT-SIZE: 10pt; mso-bidi-font-family: =
Arial&quot;>INFORMA=C7=D5ES=20
PARA A IMPRENSA:<o:p></o:p></SPAN></P>
<P style=3D&quot;TEXT-ALIGN: center; MARGIN: 0cm 0cm 0pt&quot; class=3DMsoNormal=20
align=3Dcenter><SPAN=20
style=3D&quot;FONT-FAMILY: Verdana; FONT-SIZE: 10pt; mso-bidi-font-family: =
Arial&quot;>Aaaaaa=20
Ccccc, Mmmmm<o:p></o:p></SPAN></P>
<P style=3D&quot;TEXT-ALIGN: center; MARGIN: 0cm 0cm 0pt&quot; class=3DMsoNormal=20
align=3Dcenter><B style=3D&quot;mso-bidi-font-weight: normal&quot;><SPAN=20
style=3D&quot;FONT-FAMILY: Verdana; FONT-SIZE: 10pt; mso-bidi-font-family: =
Arial&quot;>mmmmmmmmmm=20
Novas Ideias<o:p></o:p></SPAN></B></P>
<P style=3D&quot;TEXT-ALIGN: center; MARGIN: 0cm 0cm 0pt&quot; class=3DMsoNormal=20
align=3Dcenter><SPAN=20
style=3D&quot;FONT-FAMILY: Verdana; FONT-SIZE: 10pt; mso-bidi-font-family: =
Arial&quot;>Annnnnn=20
Lnnnn<o:p></o:p></SPAN></P>
<P style=3D&quot;TEXT-ALIGN: center; MARGIN: 0cm 0cm 0pt&quot; class=3DMsoNormal=20
align=3Dcenter><SPAN=20
style=3D&quot;FONT-FAMILY: Verdana; FONT-SIZE: 10pt; mso-bidi-font-family: =
Arial&quot;>(51)=20
30126810 =96 (51) 8184.1561<o:p></o:p></SPAN></P>
<P style=3D&quot;TEXT-ALIGN: center; MARGIN: 0cm 0cm 0pt&quot; class=3DMsoNormal=20
align=3Dcenter><SPAN=20
style=3D&quot;FONT-FAMILY: Verdana; FONT-SIZE: 10pt; mso-bidi-font-family: =
Arial&quot;><A=20
href=3D&quot;mailto:[email protected]&quot;>[email protected]=
</A> =96 <A=20
href=3D&quot;http://www.mmmmmmmmmm.com.br/&quot;>www.mmmmmmmmmm.com.br</A><B=20
style=3D&quot;mso-bidi-font-weight: normal&quot;><I=20
style=3D&quot;mso-bidi-font-style: =
normal&quot;><o:p></o:p></I></B></SPAN></P></DIV></BODY></HTML>

------=_NextPart_002_002B_01C9FBB9.8038AFD0--

------=_NextPart_001_002A_01C9FBB9.8038AFD0
Content-Type: image/jpeg;
name=&quot;papel_carta_mmmmmmmmmm.jpg&quot;
Content-Transfer-Encoding: base64
Content-ID: <D22EDDE5924244B7B2BF68AAEB7D309D@FMS>

/9j/4AAQSkZJRgABAgAAZABkAAD/7AARRHVja3kAAQAEAAAAUAAA/+4ADkFkb2JlAGTAAAAAAf/b
AIQAAgICAgICAgICAgMCAgIDBAMCAgMEBQQEBAQEBQYFBQUFBQUGBgcHCAcHBgkJCgoJCQwMDAwM
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA

------=_NextPart_000_0029_01C9FBB9.803861B0--
Francisco

adrien

#6
I'm also seeing this.

With any message that is either multipart/alternative or multipart/mixed I don't get any message body.

In some cases I still get the attachments, but still no message body.  the body shows in other mail clients.

I did a packet capture of the IMAP traffic, and it shows that RC isn't even requesting the body part for the message content.

So it must be something to do with processing the structure.

p.s. this is on both RC 2.2 and beta 3. PHP 5.3.0 (which changes the way PATH_INFO is calculated btw), MySql, WinGate 6.6.2 web server and WinGate 6 IMAP server.

I can do packet caps and submit full emails if you need them.

rosali

Yes, please post a zip of the messages.
Regards,
Rosali

alec

Quote from: adrien;20163p.s. this is on both RC 2.2 and beta 3. PHP 5.3.0 (which changes the way PATH_INFO is calculated btw), MySql, WinGate 6.6.2 web server and WinGate 6 IMAP server.

For PHP 5.3.0 you must use svn-trunk or wait a week for 0.3-rc release.

adrien

I'll have a look at the latest rc.  Sorry, been away from this task for a while.  If it still presents itself, I'll post some messages, although packet captures might be more useful?

Regards

Adrien

gameover

#10
Quote from: Fredrik;9444Hi, Ive just installed Roundcube 0.1Rc2 ad found one problem. When viewing some messages the body doesn't show up so I have to check the source instead. I saw that some people had problems viewing mails from yahoo but i have one in my inbox and that one shows up fine. The ones that doesnt show up are auto-messages from a phpbb forum.
..
Here's an example of a message where th ebody does not show up in RC.
Return-Path: <[email protected]>
Received: from cpanel2.uni-q.se (cpanel2.uni-q.se [193.108.196.49])
by mail.mydomain.se (8.13.8/8.13.8) with ESMTP id lAGLYlKc007686
(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO)
for <[email protected]>; Fri, 16 Nov 2007 22:34:48 +0100
Received: from localhost ([127.0.0.1]:23695)
by cpanel2.uni-q.se with smtp (Exim 4.68)
(envelope-from <[email protected]>)
id 1It8qP-0003fW-Rg; Fri, 16 Nov 2007 22:35:22 +0100
Subject: Meddelande om svar=?ISO-8859-1?Q?=20p=E5=20?==?ISO-8859-1?Q?inl=E4gg=20?=-
Information om
MegaSquirt,=?ISO-8859-1?Q?=20st=E4ll=20?==?ISO-8859-1?Q?fr=E5gor=20?==?ISO-
8859-1?Q?h=E4r?=.
To: Undisclosed-recipients:;
Reply-to: [email][email protected][/email]
From: [email][email protected][/email]
Message-ID: <[email protected]>
MIME-Version: 1.0
Content-type: text/plain charset=ISO-8859-1
Date: Fri, 16 Nov 2007 22:35:11 +0100
Precedence: bulk
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: PHP
X-MimeOLE: Produced By phpBB2 - codemonkey.se / Uni-Q Systems
X-AntiAbuse: This header was added to track abuse, please include it with any abuse report
X-AntiAbuse: Primary Hostname - cpanel2.uni-q.se
X-AntiAbuse: Original Domain - mydomain.se
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain - saabturboclub.com
X-Source:
X-Source-Args:
X-Source-Dir:
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by mail.yman.se id lAGLYlKc007686

Hej,

Du fÃ¥r detta meddelande för att du bevakar ämnet, &quot;Information om MegaSquirt, ställ frÃ¥gor här.&quot; pÃ¥ forum.saabturboclub.com. Ã&#8222;mnet har fÃ¥tt ett svar sedan ditt senaste besök. Du kan använder länken nedan för att se svaren, inga fler meddelande ska skickas till dig tills du besöka ämnet.

[url=http://forum.saabturboclub.com/viewtopic.php?p=1464845#1464845]forum.saabturboclub.com &bull; Visa tråd - Information om MegaSquirt, ställ frågor här.[/url]

Om du inte vill bevaka detta ämne i fortsättningen kan du antingen klicka på &quot;Bevaka ej detta ämne länk&quot; som finns nederst på ämnessidan, eller klicka på länken nedan:

[url=http://forum.saabturboclub.com/viewtopic.php?t=50128&unwatch=topic]forum.saabturboclub.com &bull; Visa tråd - Information om MegaSquirt, ställ frågor här.[/url]

--
Med vänliga hälsningar,
  SAAB Turbo Club of Sweden.


/Fredrik

that is nice script

johnson511

Thanks for the marvelous posting!
 











gucci shoes