In the screenshot that I will attach, you can see the size of a text/plain attachment that has been transferred base64 encoded. Its size as ASCII file is 54 bytes. When base64 encoded, it shows up as 77 bytes and as 78 bytes. That does not seems right. Are there two code paths to calculate attachment size? Reproducible: Always Steps to Reproduce: Send an email with a 54 bytes long text file attached. Open the sent email and compare the size of the attachment in the message structure (77 bytes) with the size in the properties dialog of the attachment (78 bytes).
Created attachment 77447 [details] the file that is sent as attachment
Created attachment 77448 [details] a screenshot showing the problem
I can't reproduce it.
(In reply to comment #3) > I can't reproduce it. Have you encoded the attachment as base64? I will attach a full example.
Created attachment 77573 [details] test case The whole email with all headers etc.
Ok now with this test case I can see problem. Regards.
Problem still there in KMail 4.13.0.
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.
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.