2017-06-11 2 views
0

à suivre avec la façon de send images base64 dans les signatures Thunderbird:syntaxe base64 pour envoyer des pièces jointes dans Thunderbird avec HTML

[email protected]:~$ 
[email protected]:~$ cat .tbird/sig.html 

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

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



[email protected]:~$ 

encore, cela envoie "Signature", le texte alt. Y a-t-il un problème de syntaxe?

Le base64 provient de wikipedia.

le point, tandis que surdimensionnées, affiche:

enter image description here

Le message complet dans Thunderbird:

Return-Path: <[email protected]> 
Received: from [192.168.1.7] ([<my_ip>]) 
     by smtp.gmail.com with ESMTPSA id x73sm12753514pfa.71.2017.06.11.00.12.30 
     for <[email protected]> 
     (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); 
     Sun, 11 Jun 2017 00:12:30 -0700 (PDT) 
To: [email protected] 
From: thufir <[email protected]> 
Subject: red dot 
Message-ID: <[email protected]> 
Date: Sun, 11 Jun 2017 00:12:28 -0700 
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 
Thunderbird/45.7.0 
MIME-Version: 1.0 
Content-Type: text/plain; charset=utf-8; format=flowed 
Content-Transfer-Encoding: 7bit 

no red dot 


-- 
*thufir* 
altsig 
+0

Pouvez-vous essayer sans 'moz-do-not-send = "true"'? – CodeIt

+0

c'est le même résultat. J'ai essayé 'false' et' true' aussi. – Thufir

+1

Okay. Dans votre client de messagerie, essayez d'afficher le code HTML d'origine de l'e-mail. – CodeIt

Répondre

-1
syntaxe

est très bien (avait booléen inversé, mais c'est accessoire):

[email protected]:~$ 
[email protected]:~$ 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"/> 

[email protected]:~$ 

oublié d'activer le courrier électronique HTML:

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