Create signature HTML

Is it possible to insert and html signature or a link a HTML file containing one image?

1 Like

@PaoloHolzl welcome to the forum.

I would not recommend doing that as all images in your signature will be sent as attachments…

Preferably, you could convert your images to inline Base64 objects here: https://www.base64-image.de/

Those images can then be placed in the “src” attribute of your “img” tag and will be displayed without need for attachments.

You can see an example for such Base64 images on this error page from TU Dresden: https://www.rn.inf.tu-dresden.de/j

Ok, with that approach a link to an external file can be prevented. But is HTML possible in K9 signatures in genaral?

Ok but is it possible insert directly html code into signature?
Do you have an example?

K-9 Mail does not support adding HTML signatures.

Hello, why we can’t put html code in signature like this

"<img
src="data:image/png;filename=sAc0iJu2r41oaWsk.png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoBAMAAAB+0KVeAAAAHlBMVEUAAABJODVrYGGHfHyflZWxrKvBvLrZ1NLs5uX////CCZI3AAAAAXRSTlMAQObYZgAAAO9JREFUKM/V07sSwUAUBmDewEnEpUxHqUKpo6RLaVQpjUZKGTMo3fO/rXOOxe6GB7DNzn6zlz97NpUqlVqtQl/aD4wW9jjY73PGFCsbgZMitg4eGSew1WCXEdfYxTaQh9lLDbaAJQXZLbYxko6C9N6zsC4h3mqQu4vOSQrW8IkE3MjoSNYpZihMnnEx6xhMAD2ZF48ls+IQkCMaZ3qqIn/SlMfpUqYPJDWjpqfIbNzfxYINTZ+cnJvX9HXd94Oc90qTi1cjPnGNuYcH1rtfTS4INj5KQWIfOf259Bi4IKMSNs3dORg6eX6/pT/Bb7/MA+RLhlPDH8l5AAAAAElFTkSuQmCC"
                alt="LOGO" title="" style="margin:5px; margin-left:20px;
                vertical-align:top;" class="">"

to have this (in this case) ? :
path1163

This feature no need specific interface, just put the html code in email global code

How do I do this? How do I set my signature to

<div style="display: -webkit-flex; display: -ms-flex; display: flex; flex-direction: row; justify-content: left; align-items: center; height: 180px; width: 100vw; background: -moz-linear-gradient(left, rgba(155,101,170,1) 0%, rgba(155,101,170,0) 100%);
background: -webkit-linear-gradient(left, rgba(000,101,000,1) 0%,rgba(000,101,170,0) 100%);
background: linear-gradient(to right, rgba(000,101,170,1) 0%,rgba(000,101,170,0) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0065aa', endColorstr='#000065aa',GradientType=1 ); border-top-left-radius: 100px; border-bottom-left-radius: 100px;">
<img src="https://brandgrand.tech/pfp.png" style=" border-radius: 50%; height: 100%; width: 180px;">
<div style="display: -webkit-flex; display: -ms-flex; display: flex; flex-direction: column; justify-content: center; align-items: left; height: 100%; width: 50%; padding-left: 10px">
<h1 style="font-family: Helvetica, Arial, sans-serif; font-weight: 600; font-size: 2.5em; color: #226; margin: 0px 0 0px 0; line-height: .75em;">Brandon</h1>
<h3 style="font-family: Helvetica, Arial, sans-serif; font-weight: 100; font-size: 1em; color: #226; padding: 5px 0 0 0; margin: 0px 0 0px 0;">Web Dev - Discord.js Dev - Graphic designer</h3>
<a href="mailto:brandon@brandgrand.tech" style="font-family: Helvetica, Arial, sans-serif; font-weight: 700; font-size: .75em; color: #229; margin: 5px 0 0px 0; text-decoration: none;">brandon@brandgrand.tech</a>
<div style="display: -webkit-flex; display: -ms-flex; display: flex; flex-direction: row; justify-content: left; padding-top: 10px;">
<a href="https://link.brandgrand.tech/github" style="font-family: Helvetica, Arial, sans-serif; font-weight: 100; font-size: .75em; color: #fff; padding: 5px 5px 5px 10px; text-decoration: none;"><img src="https://icon.signature.email/social/github-circle-medium-24292e-FFFFFF.png" style="height: 30px; width: auto; padding-right: 5px;"></a>
<a href="https://link.brandgrand.tech/youtube" style="font-family: Helvetica, Arial, sans-serif; font-weight: 100; font-size: .75em; color: #fff; padding: 5px 5px 5px 10px; text-decoration: none;"><img src="https://icon.signature.email/social/youtube-circle-medium-ff0000-FFFFFF.png" style="height: 30px; width: auto; padding-right: 5px;"></a>
<a href="https://link.brandgrand.tech/twitter" style="font-family: Helvetica, Arial, sans-serif; font-weight: 100; font-size: .75em; color: #fff; padding: 5px 5px 5px 10px; text-decoration: none;"><img src="https://icon.signature.email/social/twitter-circle-medium-000000-FFFFFF.png" style="height: 30px; width: auto; padding-right: 5px;"></a>
</div>
</div>
</div>

As @cketti wrote: K-9 does not support HTML signatures.

→ Create signature HTML - #5 by cketti

I really don’t get it. Not being able to insert a HTML signature with images/logo is definitely one of the reasons I’ve never seriously considered K9. Why this weird resistance???

1 Like

As a general rule, if the byte count of a signature exceeds that of the (text) of the message body I don’t bother reading the message. Almost any html signature falls that rule.

The byte count on html content - message body or signature - runs 10-50+ times the size of the text-based counterpart. When they are being retrieved over metered connections it is rather rude to force that on the unsuspecting message recipient. They also result in huge mailbox bloat.

Additionally, html messages (body or signature) can bring along tracking and privacy issues.

My biggest complaint (in this area) about K9 is that it doesn’t let me select to only view the text part of a multi-part message.

1 Like

I agree that signatures are often exaggerated, especially in Italy where many have the (stupid) habit of putting privacy law references (useless, heavy and absurd) in their signatures.
But a mail program shouldn’t restrict proper use, because someone can use it wrong.
It would be like taking knives out of the kitchen because those who don’t know how to use them can get hurt.

K9 doesn’t support generating a message with html, there’s nothing specific to signatures.

1 Like

Sorry, but that is probably the stupidest thing I have read in a long time. When will you dinosaurs move past the Unix age and courier font. Seriously, the main thing holding back K9 is people like you!

5 Likes

Joined just to say that this is absurd in 2023. I even had rich sigs on iOS more than a decade ago. Even Gmail on iOS can do it.

Makes Android look like a poor choice for any pro considering Gmail on Android doesn’t do it either. Maybe I’ll go back to iOS?

2 Likes

I vote up for this also…

I am new to k9 but on thunderbird from 2007 .

I am forced to not us the app because this single stupid option .

Company require html signature …

I’m interested in this topic to switch back in case of fixing it

Hopefully the inclusion of HTML support is a long, long way down the list of development options.

This is the only missing feature stopping me from using K9 Mail. I don’t see the logic in 2023 of not allowing HTML, which is supported by every modern email app today.

1 Like

I need this feature to be able to recomend this app to all my customer.
Every user has an html signsture and this is a huge limitation for me

1 Like

I just created an account in this forum to say that nowadays this feature is mandatory.

1 Like

+1 vote for HTML signature

1 Like