Bug 382856 - KMail2 - Received e-mail without a colon on the header field "To" does not display
Summary: KMail2 - Received e-mail without a colon on the header field "To" does not di...
Status: REPORTED
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: 5.3.2
Platform: openSUSE Linux
: NOR major
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-07-28 13:48 UTC by Don Curtis
Modified: 2019-07-18 07:46 UTC (History)
0 users

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 Don Curtis 2017-07-28 13:48:50 UTC
KMail/5.3.2 (Linux/4.4.74-18.20-default; KDE/5.26.0; x86_64; ; )

If a received e-Mail has a "To" header field without a colon then, KMail2 hangs for a while and then after a while begins to respond and, doesn't display the received message -- the "Attachments" panel only indicates a data amount indicated by the e-Mail's title.

Opening the .local/share/.local-mail.directory/ e-Mail file with a text editor and appending a colon (and a space for the KMail2 clear text to display "To:" in bold) to the "To" fixes the issue.

For example, part of a header received from Thunderbird running on a Linux platform before the "To" was changed to "To: ":

Subject: Diverses
Message-ID: <cf99ba52-2d59-663d-323d-488c8d0a604e@xxx.de>
Date: Fri, 28 Jul 2017 11:45:34 +0200
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1
MIME-Version: 1.0
To
Content-Type: multipart/mixed; boundary="------------755510B2BE84AB876EF68F1C"
Envelope-To: <xxx@yyyy.de>
X-UI-Filterresults: notjunk:1;V01:K0:2CPpN5i5SVg=:Qr2nYawPHvMQNUmtncHYdkfO14 97dMSLRGyTwfeqMOsvUibXVLtCZa5ezIYOoms3kdUDdc0v5Qov2BNSOOq52Qj2Mcxx3q+jw4g ZQvdy/iW7KjMOBvO42RerCrbiv9VEAK0OEAr2vaxhPKe9HdBZiPFLz+JICTwoZQCHx+EVfQRr xhE9uH5K0JiTst4gDsfbtQ6casMv+OHH6kAzFRQTN7IAlFGIxTW4CuIbNTNihIJ9MHsFXYxAs HMFQ72fwTLMGvcVCBxxphofB8LbtyCioqjJYNjBeuwbMKUbZsMzvH0T4BdX52g4d3dThHP+l3 Jp2wjVSweC+A0IeHFsk3vqkAzlxJJPXvab+gWBlmEWjxlAuL7jah7z261iCmNqcb9Xmz76vi4 NVCTo1EO35ikmM2NEGCZfAy7I+m20Jd5iS7dC/3XUTVm9evwkY6+016H9J1qBEBXpwytDqUOV 93aiRUE5hXbP5h3+L0mQxWZBLeKccENwaXhkcTGmNOToyY8ws5koehtwlDnCp0qLKrWDUK86/ CDDGstKRToogVh5ZWG4F3VSnvonYXlgPuao2gWZ8qO9ohQIPI9/ohvu2NBRPJjpExA9RMjqtp +28y7fQBCUJkZA1fOOxxl48QwvodbW1HdTbhP7+KZ1R/X/hpqATCS9uiPLFAp5O2xf7GnhzP1 qRZPpmuG0pEYpswkNjddo+hl9ZwF3tihkVHPVnwnQXOVNrp/ktMyBhBKKNKlLMxfnEyGo2E/2 ABrYqBp7bVOjgN4RjwaIEWBokCLM7pox8jgmCvLw3Ranfa2UfYQl6Duo9KP8nfnL+Tb2+N8UN lnwdGmCCxQIzb73DfNanFlGRCYCGJryFPmUsCfaBHyaJvXhLsb1lvENTljADrw1hDU35PDn19 cJIfQCfS6JE8NZEqJLJuHuQpjbnkhKwSNJTdM+k0pd7hMgKOJbC+jakWpriTqwdaKbHMr93aJ Ks1/5gKjC5xvmCJr5snX55XEAeOqhHwNMcLCOF3B7k2DjOApoA5BtaDcU08GWmET8Rp5lv8Go oK/gMhskGyCeTld1ht4OnmfcD/pEjWJdWCP8PrUtQ4phZBtZlvzO1KZ/eA5hwZCiFU+Yg3NVh y3KMBRcI2dzYEXouqHtvWxJ+03VyS2GNkTlJJU5lk7p5mef9lyTqVPCml7JK9k/E1NYQ8m0cn DNmkT5vfPmd/dqpOOYsJxm

This is a multi-part message in MIME format.
--------------755510B2BE84AB876EF68F1C
Comment 1 Don Curtis 2017-07-28 13:58:40 UTC
Yes, yes, I know: the Mozilla Thunderbird folks should conform to RFC 2822 but, in the case of e-Mails with a suppressed recipient list, they don't  . . .

--------------------------------------------------------------------
RFC 2822:
2.2. Header Fields

   Header fields are lines composed of a field name, followed by a colon
   (":"), followed by a field body, and terminated by CRLF.
--------------------------------------------------------------------
Comment 2 Don Curtis 2019-07-18 07:46:42 UTC
With kmail2 5.10.3 this is still an issue …

KDE Frameworks: 5.55.0
Qt: 5.9.7