Bug 227445

Summary: KMail strips extra line breaks in HTML-formatted composed emails
Product: [Applications] kmail Reporter: Jeffrey <eljefedelito>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED UNMAINTAINED    
Severity: normal CC: arthur, joe_la_fritte, liquid_fields
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed In:

Description Jeffrey 2010-02-17 23:42:37 UTC
Version:            (using KDE 4.3.4)
OS:                Linux
Installed from:    Debian testing/unstable Packages

When composing HTML messages, I will still put in spare line breaks for emphasis or clarity, but KMail (via Kontact 4.3.4) strips these out when sending.  Emails that I want to read this way:
"
Hello,

Nice to meet you.  You picked:
Option A

Thanks,

el jefe
"

Come across looking like this:
"
Hello,
Nice to meet you.  You picked:
Option A
Thanks,
el jefe
"

I put the line breaks in for a reason, please KMail don't strip them out.  Thanks for Kontact and KDE!
Comment 1 Pavel Penchev 2010-05-18 09:20:46 UTC
Confirming the same problem in Kontact 4.4.3, KDE 4.4.3 on Mandriva 10.1 beta
Comment 2 Raph 2010-07-02 18:33:55 UTC
Confirming in KDE 4.4.2, Kontact 4.4.2, Kmail 1.13.2:

N.B.: 
In earlier versions of Kontact, Kmail was striping HTML messages line breaks and it was noticeable on local 'sent items' copy.

In 4.4.2, local copy looks perfect but other clients (OE, OWA, Outlook, Thunderbird) still don't show line breaks.
Comment 3 Laurent Montel 2015-04-12 10:00:57 UTC
Thank you for taking the time to file a bug report.

KMail2 was released in 2011, and the entire code base went through significant changes. We are currently in the process of porting to Qt5 and KF5. It is unlikely that these bugs are still valid in KMail2.

We welcome you to try out KMail 2 with the KDE 4.14 release and give your feedback.