Bug 294673 - Cannot open messages forwarded as attachment (shown as empty)
Summary: Cannot open messages forwarded as attachment (shown as empty)
Status: RESOLVED FIXED
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: 4.8
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-23 10:36 UTC by Gauss
Modified: 2015-06-24 12:37 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Sample mail with attachment (only text) (1.84 KB, application/mbox)
2012-03-09 09:24 UTC, Gauss
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gauss 2012-02-23 10:36:00 UTC
Version:           4.8 (using KDE 4.8.0) 
OS:                Linux

When I receive a forwarded message as an attachment (not in text), when I click on the message icon in Kmail a dialog appears, which allows me to save the message or to open it in Kmail. When I try to open the message in Kmail it tells me that the attached message is empty. When I save the message it is just an empty file (0 Bytes).

The only way to view the forwarded message corretly is to activate the message structure view and to select the attached message in the structure window.

Reproducible: Always

Steps to Reproduce:
Forward any message as an attachment to yourself. Try to open the attached message from the message window.

Actual Results:  
Doesn't work (empty message)

Expected Results:  
Message opens in separate window (or in text).

Using IMAP
Comment 1 Laurent Montel 2012-02-23 11:00:33 UTC
from imap ? pop3 ?
could you send as mbox format this email in private message ?
Comment 2 Gauss 2012-03-09 09:24:50 UTC
Created attachment 69406 [details]
Sample mail with attachment (only text)
Comment 3 Gauss 2012-03-09 09:28:43 UTC
I'm using an IMAP account, the source of the sent mail doesn't really matter.
The bug is still open in KDE 4.8.1 (on Kubuntu 11.10 with most recent KDE 4.8 backports)
Comment 4 S. Burmeister 2012-03-11 17:45:14 UTC
I can confirm this on openSUSE with 4.8.1. Kmail cannot open emails forwarded by itself.

It does not matter whether the email is part of an imap account or moved to a local folder.

To reproduce just forward an email as attachment with kmail to yourself, click on the "forwarded message" link in the received email and pick "open with kmail view". It will tel you that the file does not contain a message.

If you use the email structure pane you can access the forwarded email. Hence the data is accessible, it's just kmail2 view failing to open it.
Comment 5 Gauss 2012-05-16 14:15:57 UTC
(In reply to comment #4)
> I can confirm this on openSUSE with 4.8.1. Kmail cannot open emails
> forwarded by itself.
> 
Actually it's not just mail forwarded by itself, which can't be opened, Kmail cannot open ANY mails forwarded to you by no mather who, apart from selecting it in the structure pane.
Btw. still not working in 4.8.3 / Kubuntu 12.04.
Comment 6 Laurent Montel 2012-05-23 07:55:25 UTC
I can confirm it.
Will look at soon.
Comment 7 Roman Fietze 2013-05-27 19:07:40 UTC
Still valid for KMail2 in 4.10.3.

I even cannot access any attachment that was inside such a forwareded mail.The only thing I can do is "save all attachments", but that only allows me to save a msg.asc.
Comment 8 Jonathan Marten 2013-05-27 19:59:45 UTC
Original description sounds the same as bug 281530 (fixed).
Comment 9 Gauss 2014-05-12 09:28:38 UTC
Seems to be fixed in 4.13
Comment 10 Hauke Laging 2015-06-24 12:37:53 UTC
If this has been fixed then there has been a regression afterwards. This problem occurs in 4.14.8 (and I have noticed it for quite some time but don't know the version when it started).