Bug 210590 - blank message shown, but message exist in file
Summary: blank message shown, but message exist in file
Status: RESOLVED DUPLICATE of bug 298962
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: 1.10.3
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-14 20:48 UTC by Roger Larsson
Modified: 2012-08-18 09:01 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Roger Larsson 2009-10-14 20:48:10 UTC
Version:           1.10.3 (using 4.1.3 (KDE 4.1.3) "release 4.10.4", openSUSE 11.1)
Compiler:          gcc
OS:                Linux (x86_64) release 2.6.27.29-0.1-default

Sometimes kmail (kontact) does not show the message contents when clicking on it. It just shows a blank page. The message does not get marked as read either.

Starting from command line shows the following error message (repeated seven times! and only when a not showable message is clicked on)

FolderStorage::getMsg: msg serial number == 0
Comment 1 Martin Koller 2009-10-15 20:44:45 UTC
Can you check if recreating the folder index solves your problem, please ?
(right click on folder -> Properties -> Maintenance)
Comment 2 Roger Larsson 2009-10-15 21:29:08 UTC
Yes it does.
But No you can not always use it...

I had this problem in several folders, those where "Recreate Index..." is available gets fixed.
But some folders does not have that option: drafts, inbox, sent... (the standard ones)

The messages can not be moved either...
Comment 3 Vladimir Kanazir 2009-10-30 17:53:30 UTC
Try closing kmail, removing /tmp/kde-username/kmail* (rm -r /tmp/kde-username/kmail*) and starting kmail again.

It is happening on kde 3.5, too... Usually, when kmail crashes.
Comment 4 Björn Ruberg 2010-03-06 21:46:09 UTC
You are reporting against an aged version of KDE. What is the situation in a more recent release?
Comment 5 Myrosia 2011-09-06 13:41:56 UTC
I am experiencing the same problem in FC13, KMail Version 1.13.6, KDE
4.5.5. There is a bug report for that, too: 
https://bugs.kde.org/show_bug.cgi?id=259421

There are no files in /tmp/kde-<myusername> at the moment. I also deleted everything from the ~/.kde/share/apps/kmail/imap/, with no improvement
Comment 6 Orang_Gila 2012-05-28 20:55:08 UTC
System: Debian 6.0.4 (Wheezy) 64 bit
Hardware: ASUS Laptop 
Package: kmail 1.13.7 (KDE 4.74)

BUG: IMAP messages that include HTML & Attachments have EMPTY BODIES

PROBLEM: Kmail does not show the body of any IMAP message if both an
attachement & html have been included in the email messages. The same message
layout & attachment work perfectly from a POP account (i.e. Shaw Internet).
Makes no difference what kind of file is attached. IMAP messages and
attachment displays fine if the message does NOT include any HTML.

If there is HTML & attached file		= EMPTY BODY
If there is plain-text  & attached file	= EVERYTHING SHOWS
If there is HTML & NO attachments	= EVERYTHING SHOWS

Things that made NO difference:
1) rebuilding indexes
2) complete uninstall of bogofilters and filter deletions
3) setting prefer html & load externel references to show on folders

The following are "shortened" sample message structure if they are of any use to any one. Note
that "#" characters I added to hide information, they were not included in these
examples:

========================
--- SHAW-POP ----
Return-Path: #####@ymail.com
Received: from cds004.dcs.int.inet...
Received: from #####.prod.shaw.ca...
X-Cloudmark-SP-Filtered: true
X-Cloudmark-SP-Result: v=1.1...
Received: from unknown (HELO #####.prod.shaw.ca)...
Received: from unknown (HELO nm28-vm0.bullet.mail.bf1.yahoo.com)... 
Received: from [##.###.###.142] by nm28.bullet.mail.bf1.yahoo.com with NNFMP;...
Received: from [##.###.###.229] by tm13.bullet.mail.bf1.yahoo.com with NNFMP;...
Received: from [127.0.0.1] by omp1069.mail.bf1.yahoo.com with NNFMP;...
X-Yahoo-Newman-Property: ymail-3
X-Yahoo-Newman-Id:
Received: (qmail 92152 invoked by uid 60001);...
DKIM-Signature: ...
X-YMail-OSG: ...
Received: from [##.##.###.109] by web162305.mail.bf1.yahoo.com via HTTP;...
X-Mailer: YahooMailClassic/15.0.6 YahooMailWebService/0.8.118.349524
Message-ID: <#######.82844.YahooMailClassic@web##2305.mail.bf1.yahoo.com>
Date: Mon, 28 May 2012 11:48:18 -0700 (PDT)
From: #### #### <#####@ymail.com>
Subject: pdfing
To: #####@ymail.com
MIME-Version: 1.0
Content-Type: multipart/mixed;
  boundary="-###603132-2031736410-1338230898=:82844"
Status: RO
X-Status: RPT
X-KMail-EncryptionState:  
X-KMail-SignatureState:  
X-KMail-MDN-Sent: 
---###603132-2031736410-1338230898=:82844
Content-Type: multipart/alternative; boundary="-###603132-2073616756-1338230898=:82844"

---###603132-2073616756-1338230898=:82844
Content-Type: text/plain; charset=us-ascii
#### THE EMAIL MESSAGE TEXT IS SHOWN HERE ####
---600603132-2073616756-1338230898=:82844
Content-Type: text/html; charset=us-ascii

<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Do I see this with a pdf attached?<br><font style="color: rgb(0, 96, 191);" size="8"><br>Do I see this with a pdf attached?</font><br><br>Do I see this with a pdf attached?<br><br><font style="color: rgb(191, 95, 0);" size="7"><span style="font-family: comic sans ms;">Do I see this with a pdf attached?</span></font><br><br>Do I see this with a pdf attached?<br></td></tr></table>
---###603132-2073616756-1338230898=:82844--

---###603132-2031736410-1338230898=:82844
Content-Type: application/pdf; name="test_file.pdf"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="test_file.pdf"

JVBERi0xLjUKJbXtrvsKMyAwIG9iago8PCAvTGVuZ3RoIDQgMCBSCiAgIC9G
aWx0ZXIgL0ZsYXRlRGVjb2RlCj4+CnN0cmVhbQp4nO1ayYr0yBG+51PoBUp/
7lJCUQfjufg20OCD8aHWAYNt/vHFj+9cIjIipFT1tLExZoZGVLWUiox9+Sq/...

========================
--- YMAIL -- IMAP ---
X-Apparently-To: #####@ymail.com via ##.##.###.236;...
Return-Path: <#####@ymail.com>
Received-SPF: none (domain of ymail.com does not designate permitted sender hosts)
X-YMailISG: ...
X-Originating-IP: [##.##.###.128]
Authentication-Results: mta1088.mail.bf1.yahoo.com  from=ymail.com; domainkeys=pass (ok);  from=ymail.com; dkim=pass (ok)
Received: from 127.0.0.1  (HELO nm40.bullet.mail.bf1.yahoo.com) (##.##.###.128)
  by mta####.mail.bf1.yahoo.com with SMTP; Mon, 28 May 2012 11:48:19 -0700
Received: from [##.###.###.144] by nm40.bullet.mail.bf1.yahoo.com with NNFMP; 28 May 2012 18:48:19 -0000
Received: from [##.###.###.253] by tm1.bullet.mail.bf1.yahoo.com with NNFMP; 28 May 2012 18:48:19 -0000
Received: from [127.0.0.1] by omp1066.mail.bf1.yahoo.com with NNFMP; 28 May 2012 18:48:19 -0000
X-Yahoo-Newman-Property: ymail-3
X-Yahoo-Newman-Id: 140879.24217.bm@omp1066.mail.bf1.yahoo.com
Received: (qmail 92152 invoked by uid 60001); 28 May 2012 18:48:19 -0000
DKIM-Signature: ...
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws;
  s=s1024; d=ymail.com;
  h=X-YMail-OSG:Received:X-Mailer:Message-ID:Date:From:Subject:To:MIME-Version:Content-Type;
  b=RUI/CbZaPunLLv+mdYt0x8C1cmSHZKG2SvMwCwTMTgEBCu+jeFjF9qcCdDCyX3ljUE3p0G2p83QRJEjrOUsjgxm3jMK32t5oAdBiBxBlu+m7tRwcaSWYUGmKlHrQHdHGzop5qt2zDkDOh7d9mY2sQVWgL9+DLEljCV2ovbHV2Uc=;
X-YMail-OSG: ...
Received: from [##.##.###.109] by web162305.mail.bf1.yahoo.com via HTTP;...
X-Mailer: YahooMailClassic/15.0.6 YahooMailWebService/0.8.118.349524
Message-ID: <#########.82844.YahooMailClassic@web162305.mail.bf1.yahoo.com>
Date: Mon, 28 May 2012 11:48:18 -0700 (PDT)
From: #### #### <#####@ymail.com>  
Subject: pdfing
To: #####@ymail.com
MIME-Version: 1.0
Content-Type: multipart/related;
  Boundary="boundary2_0_0_1_50850_AOzsHkgAAGd%2bT8PIcwVFRxguiAwMon_May_28_11:49:23_2012"
X-FetchYahoo: version 2.14.3 MsgId 2_0_0_1_50850_AOzsHkgAAGd+T8PIcwVFRxguiAw
Status: RO
X-Status: RP
X-KMail-EncryptionState:  
X-KMail-SignatureState:  
X-KMail-MDN-Sent:  

This is a multi-part message in MIME format...

--boundary2_0_0_1_50850_AOzsHkgAAGd%2bT8PIcwVFRxguiAwMon_May_28_11:49:23_2012

--boundary2_0_0_1_50850_AOzsHkgAAGd%2bT8PIcwVFRxguiAwMon_May_28_11:49:23_2012--
Comment 7 Myriam Schweingruber 2012-08-18 08:47:02 UTC

*** This bug has been marked as a duplicate of bug 299417 ***
Comment 8 Myriam Schweingruber 2012-08-18 09:01:26 UTC
Oops, wrong bug number, sorry for the noise.

*** This bug has been marked as a duplicate of bug 298962 ***