Mozilla Monitor website will be down for 2 hours starting 5/20/2025 at 6 AM PT. Visit our status site for updates.

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Images in html mail not attached correctly

  • 8 replies
  • 2 have this problem
  • 24 views
  • Last reply by d1hartman

I was dealing with html emails and Thunderbird recently, but I got a problem.. the images included in my email aren't attached and it just gives me errors, saying that the image could not be attached, if I want to send the email without it. I have the images hosted online of course. This is what the code looks like: img src="http://www.mediafire.com/convkey/0966/3742rgmrt7tm7drfg.jpg"

Here are a couple of screens (not in english, but whatever): 1. it looks all good when I import the html code: http://i58.tinypic.com/2955um0.jpg

2. when I try to send it, the error appears for every image that is contained in the mail. http://i59.tinypic.com/w1fww8.jpg

Thanks for help

I was dealing with html emails and Thunderbird recently, but I got a problem.. the images included in my email aren't attached and it just gives me errors, saying that the image could not be attached, if I want to send the email without it. I have the images hosted online of course. This is what the code looks like: img src="http://www.mediafire.com/convkey/0966/3742rgmrt7tm7drfg.jpg" Here are a couple of screens (not in english, but whatever): 1. it looks all good when I import the html code: http://i58.tinypic.com/2955um0.jpg 2. when I try to send it, the error appears for every image that is contained in the mail. http://i59.tinypic.com/w1fww8.jpg Thanks for help

Chosen solution

src="http://en.wikipedia.org/wiki/Sapphire#mediaviewer/File:Geschliffener_blauer_Saphir.jpg" moz-do-not-send="true" will result in a web link.

Note the moz-do-not-send="true"

Read this answer in context 👍 2

All Replies (8)

Chosen Solution

src="http://en.wikipedia.org/wiki/Sapphire#mediaviewer/File:Geschliffener_blauer_Saphir.jpg" moz-do-not-send="true" will result in a web link.

Note the moz-do-not-send="true"

wow! I don't know how the hell did that work, but it works :D Thanks a lot Matt.

Modified by McCloud

if you insert a link into a HTML composition with the user interface, there is an option to now include the source with the message. Selecting it adds the moz-do-not-send="true". If you writing your own HTML for use in Thunderbird you have to make that adjustment manually as it is one of the ways HTML in email differs from HTML on the web.

So a small update.. although your tip solved the issue on my side, but when I gave it to my client and he tried to send it, he had the same error. What's more, when he sent it to me, yahoo mail didn't even display the message... saying it was 'truncated'. (i had to manually click on the link to display the mail - like it was spam).

I don't understand why this moz-do-not-send solved it for my Thunderbird, but not for his. He get's the same error as me before - the image couldn't be attached.

Matt, do you have any ideas on what's causing this? Thanks.

Modified by McCloud

Is he using Thunderbird? moz-do-not-send is strictly a Thunderbird tag. Other mail client use other methods of attaining exactly the same result

Sorry for the late reply.. I changed the image hosting and that seems to have solved the problem. He gets some weird antivirus notification positioning (like "message has been checked and it's safe") but I am not sure if the code has something to do with this..

anti virus programs can and often do modify emails adding text similar to what your show. In this case it is eset, if you have ESET or NOD32 you need to go through the settings and turn of this annoying advertising.

If it is the guy at the other end with ESET then that is where the changes need to be made. These instruction look like they will do the job http://www.mydigitallife.info/remove-eset-nod32-checked-email-confirmation-tag-message-in-email/

I had an HTML signature file with a jpeg picture created by MS Word, and the picture wouldn't show in the email. When I created the same signature with Libre Office Writer it worked just fine. Using a test editor I looked at both versions, and the MS version hat a lot more junk in it. See also http://www.gnu.org/philosophy/no-word-attachments.html