From kmail-devel Thu Feb 19 22:40:07 2004 From: Edwin Schepers Date: Thu, 19 Feb 2004 22:40:07 +0000 To: kmail-devel Subject: Re: [PATCH] composing html messages Message-Id: <200402192340.07396.yez () home ! nl> X-MARC-Message: https://marc.info/?l=kmail-devel&m=107723004017558 On Thursday 19 February 2004 03:50 am, Don Sanders wrote: > Hi Edwin, > > Issues to be solved : > > - line spacing when opening and closing from Drafts > > I'm having difficulty reproducing this now. Not sure if that's a good > thing (it's fixed?) or a bad thing (just hard to reproduce?). I will look into this. > > > - signing/encryption of HTML messages > > I think traditional GnuPG Signing/Encrypting doesn't make sense for > HTML mails. Because there is no significant body part, HTML mails > only consist of alternative attachments, (and traditional GnuPG > signing/encryption doesn't support encrypting/signing attachments). > > I think if KMail is configured for traditional GnuPG support then > signing/encryption should be completely disabled, anything else would > be dangerous and a security flaw. > > S/MIME support should be possible, but it doesn't seem to make sense > working on that now with the S/MIME code being modified in the > aegypten_branch and pending merging. Looks logical. > > > - opening HTML messages from Drafts does not always show a correct > > message (it's including the HTML code). This has to do with the > > fact that the bodyParts are not always the same. It seems that it > > differs depending of whether another message is clicked before. > > I can reproduce this. I'll try to find to look at it but please let me > know if you fix it first, I'll do the same. The situation is that you are composing a richtext mail with one attachment. When you "save in drafts", go to the drafts folder, doubleclick on the just saved mail, then numBodyParts() seems to be 2. body[0] is the text/plain +text/html part (without multipart/alternative ) and body[1] is the attachment. When you "save in drafts", go to the drafts folder, first click on another message that resides in the Drafts folder, the click on the just saved message and _then_ doubleclick on the just saved mail, then numBodyParts() seems to be 3 ! body[0] is the text/plain text, body[1] is the text/html text and body[2] is the attachment. The latter case works fine. I think the numBodyParts() shouldn't give different results. Maybe someone knows why it does ? Regards, Edwin _______________________________________________ KMail developers mailing list KMail-devel@kde.org https://mail.kde.org/mailman/listinfo/kmail-devel