Bug 331801

Summary: Forward mail with attachment doubles size of mail
Product: [Applications] kmail2 Reporter: Axel Braun <axel.braun>
Component: composerAssignee: kdepim bugs <kdepim-bugs>
Status: CONFIRMED ---    
Severity: normal CC: bugs.kde.org, nico.kruber, till2.schaefer
Priority: NOR    
Version: 4.14.10   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Example Mail
original size of attachement

Description Axel Braun 2014-03-06 07:58:10 UTC
I noticed when you forward a mail with attachment - either by 'forward' or by drag n drop into composer, the attached documents got doubled: So a mail of say 5 MB shows up in the outbox as 10 MB. This can extend the max mail size of your ISP, although the original mail would fit from size.

Reproducible: Always

Steps to Reproduce:
1. see above
2.
3.
Comment 1 Axel Braun 2015-03-02 09:19:56 UTC
Created attachment 91371 [details]
Example Mail

Note that the problem occurs as well sith signed mails. There you can see that the mail size is 34 MB, although the attachment is 'only' 17MB
Comment 2 Axel Braun 2015-03-02 09:22:16 UTC
Created attachment 91372 [details]
original size of attachement

This shot showss the original size of the attachement

KDE is 4.14.4
Comment 3 Nico Kruber 2015-08-04 11:30:17 UTC
Just signing an email with an attachment using PGP/MIME results in the duplicate size as well. The attachment then exists twice in the source of the email.

KMail 4.14.9
Comment 4 Adrian Zaugg 2021-02-23 00:21:13 UTC
This probably happens because the mail gets encoded (base64): E-Mail used to be and probably still is 7-bit, hence size doubles. This is not a bug, see RFC 5322, 2.3.