Bug 387646 - Plain-text Mail with HTML attachment treated as HTML when forwarding
Summary: Plain-text Mail with HTML attachment treated as HTML when forwarding
Status: RESOLVED FIXED
Alias: None
Product: kmail2
Classification: Applications
Component: composer (show other bugs)
Version: 5.6.0
Platform: Other Linux
: NOR minor
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-12-06 13:47 UTC by Jeffrey Kelling
Modified: 2017-12-06 14:19 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 5.7.0


Attachments
Plain Text Email with HTML file attached. (721 bytes, text/plain)
2017-12-06 13:58 UTC, Jeffrey Kelling
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jeffrey Kelling 2017-12-06 13:47:40 UTC
I have a mail in my inbox with the following message structure:

[mail]
|- body part
 |- body part
 |- somefile.html
|- smime.p7s

The message is signed and was send with kmail, including somefile.html as an attachment.

When forwarding this message inline (forwarding as attachement works as expected), the result is:
- An HTML mail the body of which contains only the content of somefile.html
- The content of 'body part' gets discarded.
- somefile.html present as attachmment

Expected behavior:
- A plain text mail with 'body part' quoted as original message
- somefile.html as attachmment

I probable ran into a bot of a cornercase here and forwarding as an attachment works, so I set the severity to minor.
Comment 1 Jeffrey Kelling 2017-12-06 13:58:42 UTC
Created attachment 109228 [details]
Plain Text Email with HTML file attached.

To reproduce bug, open Test.mbox in kmail and attempt forwarding message inline.