[Bug 143237] New: kmail <= 3.5.6 fails on non multipart MIME mails containing a single attachment

Hans-Peter Jansen hpj at urpla.net
Mon Mar 19 20:30:14 GMT 2007

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
           Summary: kmail <= 3.5.6 fails on non multipart MIME mails
                    containing a single attachment
           Product: kmail
           Version: 1.9.5
          Platform: SuSE RPMs
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kdepim-bugs kde org
        ReportedBy: hpj urpla net

Version:           1.9.5 (using KDE KDE 3.5.5)
Installed from:    SuSE RPMs
OS:                Linux

It's quite popular to receive non multipart MIME mails containing a single attachment today, e.g. PDF invoices/delivery notices, and mails from all those Win* office users using "Mail this file".

Clicking on the attachment should open the related application in order to consume its content. Unfortunately, for kmail users it's not that easy, since the app either throws an error (ooo), or shows an more or less empty document (kpdf). But wait, viewing the "source code" of that message (key "V" in my german kmail) before clicking on the attachment "fixes" that problem (as long as this message is still shown).

This problem seems to exist for a long time, and persists in KDE 3.5.6 from SUSE BS, but today I finally got around to create a script, that generates such offending messages.

Use the "problem construction set" this way:
sendattachment.py -f from x -t your address -s \ mailserver.site -c 'application/pdf' testa.pdf

Check your INBOX, and try to view or save it. Check the result: the file should be damaged. Now view the message source and try again. It should work now, but is quite a hassle to explain this to users..

If you cannot reproduce it, let me know (I'm using Cyrus IMAP here).

More information about the Kdepim-bugs mailing list