Why do image links in my HTML signature get turned into inline images?
I have written a program to create HTML signature files for email programs at my workplace.
The signature file uses URLs to images hosted on a server. This appears to work fine, but I've noticed that when I send an email from Icedove (Thunderbird rebadged for Debian), the image links automatically get turned into attachments. These are then visible as base64-encoded MIME blocks in the email source.
I cannot find any option for altering this behaviour anywhere in the application, even in the Config Editor.
Can anybody advise me how to change this behaviour? Thanks in advance.
I am running Icedove v.17 for Debian 64 bit.
被選擇的解決方法
By default Thunderbird attaches all images, even if the <img> element points to a remote resource. Most e-mail clients block remote content these days unless the user authorizes it (see this thread for an in-depth discussion) due to potential privacy/tracking issues. Thus, the image your are adding as a remote resource may not display the first time the recipient opens the message.
If you want to change your code respectively anyway, have a look at this article. You'll have to add an attribute <img moz-do-not-send="true"> to the element which will Tell Thunderbird to not download the image from the server and embedding it into the message on sending.
從原來的回覆中察看解決方案 👍 4所有回覆 (1)
選擇的解決方法
By default Thunderbird attaches all images, even if the <img> element points to a remote resource. Most e-mail clients block remote content these days unless the user authorizes it (see this thread for an in-depth discussion) due to potential privacy/tracking issues. Thus, the image your are adding as a remote resource may not display the first time the recipient opens the message.
If you want to change your code respectively anyway, have a look at this article. You'll have to add an attribute <img moz-do-not-send="true"> to the element which will Tell Thunderbird to not download the image from the server and embedding it into the message on sending.