Bug 151141

Summary: word wrap cannot be set to more than 78 charactes per line, though RFC2822 allows up to 998 characters
Product: [Applications] kmail Reporter: mat.schult
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: martin.fitzpatrick
Priority: NOR Keywords: triaged
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:

Description mat.schult 2007-10-21 15:29:49 UTC
Version:            (using KDE KDE 3.5.8)
Installed from:    Ubuntu Packages

The word wrapping in kmail is limited to 78 charactes, but the upper limit should be 998 characters.

It is often claimed that RFC822 would forbid lines longer than 78 characters + CRLF. Actually I cannot find any restriction there (http://tools.ietf.org/html/rfc822).

RFC822 has been obsoleted by RFC2822 anyway and RFC2822 allows lines of up to 998 characters. That is more than the total characters in many mails. (http://tools.ietf.org/html/rfc2822)

(BTW: Along with this it would be helpful to have http://bugs.kde.org/show_bug.cgi?id=31951 (from 2001) fixed as well.)
Comment 1 Martin Fitzpatrick 2009-04-04 19:17:37 UTC
Confirm that this restriction still exists on KDE 4.2.2 although the upper limit now appears to be 255 (Configure>Kmail>Composer>Word Wrap).
Comment 2 Martin Koller 2009-08-21 21:29:29 UTC
SVN commit 1014175 by mkoller:

BUG: 151141

Limit wordwrap to max 998 chars per line according to RFC2822


 M  +1 -1      kmail.kcfg.cmake  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1014175
Comment 3 Martin Koller 2009-08-21 21:30:02 UTC
SVN commit 1014176 by mkoller:

Backport r1014175 by mkoller from trunk to the 4.3 branch:

CCBUG: 151141

Limit wordwrap to max 998 chars per line according to RFC2822



 M  +1 -1      kmail.kcfg.cmake  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1014176