Bug 289268 - Header lines in forwarded mails are not wrapped
Summary: Header lines in forwarded mails are not wrapped
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: 1.99.0
Platform: openSUSE Linux
: HI normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-18 11:21 UTC by Rolf Eike Beer
Modified: 2017-01-07 21:47 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 Rolf Eike Beer 2011-12-18 11:21:27 UTC
Version:           1.99.0 (using Devel) 
OS:                Linux

Take a mail that has a long header line, i.e. > 1000 characters (which is the limit that SMTP gives). This lines are wrapped. A good example (where I first hit the problem) is a DKIM signature, e.g. from Amazon.

When this mail is forwarded as attachment the wrapping is removed, leading to an invalid SMTP transfer.

Reproducible: Didn't try

Steps to Reproduce:
Create a mail with a wrapped long line and forward this as attachment.

Actual Results:  
The wrapping is removed.

Expected Results:  
The formatting of the header shouldn't be messed up.

OS: Linux (i686) release 3.1.0-1.2-desktop
Compiler: gcc
Comment 1 Rolf Eike Beer 2011-12-18 12:12:29 UTC
Happens also when simply bouncing the mail to someone else.
Comment 2 Laurent Montel 2011-12-19 11:45:49 UTC
Could you me an email with this pb in private message ?
Comment 3 Laurent Montel 2011-12-19 16:15:22 UTC
Git commit 6cfa5cb03943abfa10388a939edd7ca44b4c83eb by Montel Laurent.
Committed on 19/12/2011 at 17:15.
Pushed by mlaurent into branch 'master'.

Fix bug 289268 - Header lines in forwarded mails are not wrapped

BUG: 289268

M  +2    -1    messagecomposer/composer.cpp

http://commits.kde.org/kdepim/6cfa5cb03943abfa10388a939edd7ca44b4c83eb
Comment 4 Laurent Montel 2011-12-20 09:31:32 UTC
I reopened it.
this patchs fixed bug but breaks other method.
Comment 5 Denis Kurz 2016-09-24 18:19:23 UTC
This bug has only been reported for versions before 4.14, which have been unsupported for at least two years now. Can anyone tell if this bug still present?

If noone confirms this bug for a Framework-based version of kmail2 (version 5.0 or later, as part of KDE Applications 15.12 or later), it gets closed in about three months.
Comment 6 Denis Kurz 2017-01-07 21:47:51 UTC
Just as announced in my last comment, I close this bug. If you encounter it again in a recent version (at least 5.0 aka 15.08), please open a new one unless it already exists. Thank you for all your input.