If I choose a html file as signture Kmail only show the code in composer. Reproducible: Always Steps to Reproduce: 1. Use a html file for signature 2. Send new email and add the signature 3. Actual Results: Only html code appear Expected Results: A html signature
work fine here. Could you create screenshot when you create mail and when you receive mail. thanks
Created attachment 71186 [details] Adding a html signature
Created attachment 71187 [details] The email with html signature
Ah ! it's a signature from a file. Don't know if it's supported (to add a html file signature). Ok me I tested signature as html create in editor. Will look at it soon. But better to use html editor from identity to create it.
Created attachment 71193 [details] Html editor When I try the html editor I can't align the text with the image. This screenshot shows what it should look like.
Ok I see. I how to create a real html widget editor for 4.10. But it's right it's a bug in qtextedit.
could you send me your html file for testing ?
Created attachment 71196 [details] Html signature
Ok it's normal that we can reproduce same signature because we don't have support for create table in qtextedit. I hope to fix it in 4.10 (not the next release). Otherwise QTextEdit support table but we don't have support for creating it. And I will add support for html file as signature in 4.10 too but I can't for 4.9 too many changes. I add this bug in my todo list
Ok now in 4.10 we can insert directly html. It's not perfect but it's better
OK I added support for table in 4.10
Same problem on Kubuntu 13.10, Kmail Version 4.11.5. Another aspect of this bug (I think) is that Kmail doesn't digitally sign the html signature correctly (HTML signature with "inline" images (data:image/gif;base64) ). So the sent signed email is invalid, even for other clients which otherwise can render html signatures in Kmail-sent mails.
Still happens with 4.14.2.
(In reply to Pierre Maraval from comment #12) > Same problem on Kubuntu 13.10, Kmail Version 4.11.5. > > Another aspect of this bug (I think) is that Kmail doesn't digitally sign > the html signature correctly (HTML signature with "inline" images > (data:image/gif;base64) ). > > So the sent signed email is invalid, even for other clients which otherwise > can render html signatures in Kmail-sent mails. Re Pierre's data:image additional point. I can confirm that (for kde 4.10.5 and kde 4.13.3) the addition of images via the <img src="data:..."> to an html signature causes s/mime signing to record an incorrect digest. I notice that when the mail is sent the saved/received mail has its html image elements converted to <img src="cid:...> which are I believe generated on the fly. My best guess is that perhaps kmail reformats the html after the digest is calculated rendering it void. To test this I have created two identity profiles the only difference being their name and whether the html signature contains img data block or not. The result is that after signing the email with the images in the signature (both saved locally and sent over the wire) result in a red message box and "Status: Bad signature"; whereas emails sent without images render in a green box and verify correctly.
(In reply to Mike Jones from comment #14) > (In reply to Pierre Maraval from comment #12) > > Same problem on Kubuntu 13.10, Kmail Version 4.11.5. > > > > Another aspect of this bug (I think) is that Kmail doesn't digitally sign > > the html signature correctly (HTML signature with "inline" images > > (data:image/gif;base64) ). > > > > So the sent signed email is invalid, even for other clients which otherwise > > can render html signatures in Kmail-sent mails. > > Re Pierre's data:image additional point. > > I can confirm that (for kde 4.10.5 and kde 4.13.3) the addition of images > via the <img src="data:..."> to an html signature causes s/mime signing to > record an incorrect digest. I notice that when the mail is sent the > saved/received mail has its html image elements converted to <img > src="cid:...> which are I believe generated on the fly. My best guess is > that perhaps kmail reformats the html after the digest is calculated > rendering it void. > > To test this I have created two identity profiles the only difference being > their name and whether the html signature contains img data block or not. > The result is that after signing the email with the images in the signature > (both saved locally and sent over the wire) result in a red message box and > "Status: Bad signature"; whereas emails sent without images render in a > green box and verify correctly. Additionally Adding a vcard (generated via kmail which inserts \r\n as per spec IIRC). There may also be an issue with either kmail or MS exchange (though I doubt MS would want to remove it's precious carriage return character) replacing \r with \n resulting in \n\n substitution for \r\n, and hence voiding the digest again.
I upgraded to KMail 5.1.3 and image signatures are now showing correctly for me