5

How do I get thunderbird to send HTML and an image in a signature?

Just wanting to send a red dot in the signature file for as an example.

see also:

https://stackoverflow.com/q/44481019/262852

Thufir
  • 1,808

2 Answers2

8

The url of the img is only valid to your computer and it is not valid at the receiver side. So you need to encode the image file using a base64 encoder like this one.

Upload the signature and convert it into base64.

Copy the code and replace the path in img tag with the code like this.

<br><img src="data:image/bmp;base64,Qk32BgAAAAAA...." alt="Signature">

Hope this helps.

CodeIt
  • 1,849
0

syntax is fine:

thufir@doge:~$ 
thufir@doge:~$ cat .tbird/sig.html

this is in <i>italics</i>
<br>
and something <em>emphasized</em>
<br>
here's some <b>bold</b>

<br>
<br>
<br>

<img moz-do-not-send="false" src="data:image/png;base64,
iVBORw0KGgoAAA
ANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4
//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU
5ErkJggg==" 

style="height:22px; width:22px"
alt="Signature"/>

thufir@doge:~$ 

forgot to enable HTML e-mail:

https://askubuntu.com/q/100797/45156

copied in reference from:

https://stackoverflow.com/a/44482049/262852

Thufir
  • 1,808