搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Why do image links in my HTML signature get turned into inline images?

  • 1 回覆
  • 3 有這個問題
  • 13 次檢視
  • 最近回覆由 rsx11m

more options

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.

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)

more options

選擇的解決方法

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.