Bug 98365 - forwarded HTML-only mail is mangled
Summary: forwarded HTML-only mail is mangled
Status: RESOLVED WORKSFORME
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: 1.7.2
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-01 20:51 UTC by Jens
Modified: 2009-10-10 22:18 UTC (History)
1 user (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 Jens 2005-02-01 20:51:58 UTC
Version:           1.7.2 (using KDE 3.3.2 Level "a" , SUSE 9.2 UNSUPPORTED)
Compiler:          gcc version 3.3.4 (pre 3.3.5 20040809)
OS:                Linux (i686) release 2.6.8-24.11-default

Hi,

I cannot forward a mail with the following headers as an attachment:

Return-Path: <service@_xxx_.de>
X-Original-To: jens-xxx@_xxx_.de
Delivered-To: jens-xxx@_xxx_.de
Received: from localhost (localhost [127.0.0.1])
	by master.rb-hosting.de (Postfix) with ESMTP id 3C71111834
	for <jens-xxx@_xxx_.de>; Tue,  1 Feb 2005 00:02:46 +0100 (CET)
Received: from master.rb-hosting.de ([127.0.0.1])
	by localhost (master.rb-hosting.de [127.0.0.1]) (amavisd-new, port 10024)
	with LMTP id 10361-02-8 for <jens-xxx@_xxx_.de>;
	Tue, 1 Feb 2005 00:02:42 +0100 (CET)
Received: from DNMTP01._xxx_.com (smtp._xxx_.com [216.251.115.225])
	by master.rb-hosting.de (Postfix) with ESMTP id 3CD67117C2
	for <jens-xxx@_xxx_.de>; Tue,  1 Feb 2005 00:02:39 +0100 (CET)
Received: from [10.1.6.47] ([10.1.10.249]unverified) by smtp._xxx_.com with InterScan Messaging Security Suite; Mon, 31 Jan 2005 15:02:37 -0800
From: service@_xxx_.de
To: jens-xxx@_xxx_.de
Subject: _xxx_ Buchungsbestätigung - Paris, FRA, 11 Mär 2005
Mime-Version: 1.0
Content-Type: text/html;
  charset=iso-8859-1
Message-Id: <20050131230239.3CD67117C2@master.rb-hosting.de>
Date: Tue,  1 Feb 2005 00:02:39 +0100 (CET)
X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian GNU/Linux) at master.rb-hosting.de
X-Amavis-Alert: BAD HEADER Non-encoded 8-bit data (char E4 hex) in message header 'Subject'
	Subject: _xxx_ Buchungsbest\344tigung - Paris,... ^
X-UID: 1285
X-Length: 64541


<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" content="text/html; charset=iso-8859-1">

(... 80kb of HTML junk ...)

</HTML>


If I do this, the mail will be shown Base64-encoded when trying to view the attachment. Viewing the mail Netscape (7.1) Mail will also only show the Base64-encoded code.

The attachment created by KMail has the following headers (seen when pressing 'v'):

--Boundary-00=_Pn2/BN9nF/vY/w2
Content-Type: message/rfc822;
  name="forwarded message"
Content-Transfer-Encoding: base64
Content-Description: service@_xxx_.de: _xxx_ =?iso-8859-1?q?Buchungsbest=E4tigung_-?= Paris, FRA, 11 =?iso-8859-1?q?M=E4r_2005_-?= 
Content-Disposition: inline

and when I click on the "Eingebettete Nachricht" text I only get to see the Base64 encoded mail code. Clicking on the attachmentin the MIME tree however displays the attached mail fine.


The same attachment created by SquirrelMail has these headers and is perfectly viewable in KMail and Netscape:

------=_20050201203913_25868
Content-Type: message/rfc822; name="_xxx_ 
 =?iso-8859-1?Q?Buchungsbest=E4tigung_-_Paris=2C_FRA=2C_11_M=E4r_2005_-_?=
 .msg"
Content-Transfer-Encoding: 8bit
Content-Disposition: attachment; filename="_xxx_ 
 =?iso-8859-1?Q?Buchungsbest=E4tigung_-_Paris=2C_FRA=2C_11_M=E4r_2005_-_?=
 .msg"


It seems there is something wrong with the Content-Encoding. Either KMail can't properly encode in base64 (so that other clients can read it) or at least Netscape and KMail are broken in this regard (because both can't read the mails created by KMail).

If you need test mails, please tell me. I don't wan to publish them as they contain private information.


Thanks,

Jens
Comment 1 Martin Koller 2009-09-03 23:12:32 UTC
Wanted to test with KDE 4.3.1.
Do you still have this problem ?
Can you attach a test mail or send one to me ?
Comment 2 Jens 2009-09-07 08:35:34 UTC
Sorry ... since 2006 I completely switched to Mac OS X and currently I don't have a computer running Linux any more (except for our Mac Mini file server running Ubuntu without GUI).
If the Bug is not reproducable any more with KDE 4.x, I suggest closing it.
Comment 3 Jens 2009-09-07 08:36:33 UTC
PS I can send the whole email which caused this problem to you to test it with KMail KDE 4.x. It is still in my IMAP account.
Comment 4 Martin Koller 2009-09-07 19:00:52 UTC
On Monday 07 September 2009, Jens B. Benecke wrote:

> --- Comment #3 from Jens B. Benecke <jens-bugs kde org spamfreemail de> 
>  2009-09-07 08:36:33 --- PS I can send the whole email which caused this
>  problem to you to test it with KMail KDE 4.x. It is still in my IMAP
>  account.
>

sure, send it to me, please.
Comment 5 Martin Koller 2009-10-08 21:42:25 UTC
Ping.
Didn't receive anything up till now.
Comment 6 Martin Koller 2009-10-10 22:18:57 UTC
Works fine in KDE 4.3.2