Page 1 of 2 12 LastLast
Results 1 to 10 of 16

Thread: How to correctly style an email signature in Kmail?

  1. #1

    Default How to correctly style an email signature in Kmail?

    I'm trying to correctly set up an HTML signature in Kmail, with little success.

    This is what I want to achieve

    https://codepen.io/anon/pen/xyZwWb

    Basically an image on the left, some text lines on its right, and above all three styled rulers; nothing really fancy.

    Anyway, it isn't working. When I insert this HTML into Kmail as a signature, the result is that the hr's are not styled, nor the image: the rulers are all grey and spaced with margin, the image isn't floating and the whole layout is a mess.

    Am I doing something wrong? This is working in other clients, like in example evolution.

  2. #2
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    19,194
    Blog Entries
    14

    Default Re: How to correctly style an email signature in Kmail?

    Do not insert the html code, but use the html editor in the identity signature dialogue
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    https://en.opensuse.org/openSUSE:Board#Members
    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

  3. #3

    Default Re: How to correctly style an email signature in Kmail?

    Thank you for your reply.

    This is exactly what I tried to do, but I am not getting the expected result.

  4. #4
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    19,194
    Blog Entries
    14

    Default Re: How to correctly style an email signature in Kmail?

    What happens if you paste the html code directly in ~/.config/emailidentities, after the "Inline Signature=" for the account? You may need a logout/login.
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    https://en.opensuse.org/openSUSE:Board#Members
    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

  5. #5

    Default Re: How to correctly style an email signature in Kmail?

    I've tried to do what you suggested, but the result is always the same, the output is messed up and the proper styling isn't applied.

  6. #6
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    19,194
    Blog Entries
    14

    Default Re: How to correctly style an email signature in Kmail?

    Try adding
    Code:
    </body></html>
    at the end of the sig line in emailidentities. Mine has that ....
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    https://en.opensuse.org/openSUSE:Board#Members
    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

  7. #7
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    19,194
    Blog Entries
    14

    Default Re: How to correctly style an email signature in Kmail?

    OK, did some testing. If I copy the code from your sig, then go to an identity in kmail, open the sig dialog, pick Insert HTML paste the code there, click OK, I see what the preview in your link shows, i.e. completely correct sig.
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    https://en.opensuse.org/openSUSE:Board#Members
    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

  8. #8

    Default Re: How to correctly style an email signature in Kmail?

    Then there is some problem on my part.

    Here is what I get: https://imgur.com/a/YZudY3F

  9. #9

    Default Re: How to correctly style an email signature in Kmail?

    Just to be precise, I'm using Kmail version 18.08.1-1.1 on Tumbleweed.

  10. #10
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    19,194
    Blog Entries
    14

    Default Re: How to correctly style an email signature in Kmail?

    Quote Originally Posted by sekhemty View Post
    Then there is some problem on my part.

    Here is what I get: https://imgur.com/a/YZudY3F
    That's what it's for. But it misses the body / html closure tags
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    https://en.opensuse.org/openSUSE:Board#Members
    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •