https://bugs.kde.org/show_bug.cgi?id=494945
Bug ID: 494945 Summary: "From" name with special character breaks email sending Classification: Applications Product: kmail2 Version: 6.2.1 Platform: Other OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: general Assignee: kdepim-b...@kde.org Reporter: stefandoesin...@gmx.at Target Milestone: --- Created attachment 174954 --> https://bugs.kde.org/attachment.cgi?id=174954&action=edit bad email SUMMARY kmail 6.2.1 from KDE Gear 24.08.1 fails to send E-Mails with two of my mail providers (gmx.at and gmail). The server refuses to send the emails because supposedly the "from" address is not mine. I have isolated the issue down to the "ö" character in my name. If the from address is "Stefan Dösinger <stefandoesin...@gmx.at>", sending fails. If I set the name in the kmail identity to "Stefan Doesinger" or leave it empty, sending succeeds. This happens on a new KDE installation. Interestingly it does not happen on a second system that has been upgraded over the years and the E-Mail setup is a few years old. As far as I can see the difference in the generated emails is this: Bad version: From: Stefan Dösinger <stefandoesin...@gmx.at> Good version: From: Stefan =?UTF-8?B?RMO2c2luZ2Vy?= <stefandoesin...@gmx.at> Both versions also have these headers: MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Type: text/plain; charset="utf-8" I have attached two email files for reference STEPS TO REPRODUCE 1. Start with a fresh KDE setup, e.g. create a new Linux user 2. Set up an E-Mail account with a special character in the sender name (not the sender address) 3. Try to send an email OBSERVED RESULT Sending the Email is rejected. It depends a bit on the exact provider. gmx says "transaction failed" when sending. gmail seemingly sends, but the recipient (in this case my gmx address) rejects the email because supposedly the From address is invalid. EXPECTED RESULT Email gets sent correctly SOFTWARE/OS VERSIONS Linux/KDE Plasma: Gentoo, KDE 24.08.1 ADDITIONAL INFORMATION The "good" system is an x86_64 system, the bad one an aarch64 one. But I suspect the platform doesn't matter. Instead, something in ancient config files hides the bug on one of them -- You are receiving this mail because: You are watching all bug changes.