Search Support

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

TB sees my html attachment as a text document

  • 11 replies
  • 1 has this problem
  • 10 views
  • Last reply by Matt

more options

I recently switched email programs from Outlook Express to Mozilla TB. In Outlook I would get a daily email report with an html attachment. I would double click the attachment and it would open in the web browser. Now, however, TB sees the attachment as a text document and will not open it in a browser.

If I save the attachment to my desktop and open it from there, it will open correctly in the browser.

Is there any way to change my settings to have the attachment be recognized as html and open in a browser?

I recently switched email programs from Outlook Express to Mozilla TB. In Outlook I would get a daily email report with an html attachment. I would double click the attachment and it would open in the web browser. Now, however, TB sees the attachment as a text document and will not open it in a browser. If I save the attachment to my desktop and open it from there, it will open correctly in the browser. Is there any way to change my settings to have the attachment be recognized as html and open in a browser?

All Replies (11)

more options

Try View -> Message body as -> Original HTML

more options

All I see is something like the following (I copied some as an example):


<title>CMA HL NYK ZIM IMP</title>

  CMA HL NYK ZIM IMP  
more options

I have studied your question some more. Does the attached file have an extension of html or htm?

When you click on the filename of the attachment, do you get a small screen asking how to open it? If so, the 'Open with' option allows selection of Firefox. Does that open it properly?

In your system settings, you can designate what program opens each type of file (based on extension).

more options

The extension is html.

I have tried 'Open with' IE and Firefox both and I still get the same results.

more options

Just a thought Look at tools/ alternativ / attachment Is html dokument registered in there? and can you switch t : use FF

If not try to do some action and choose option ".... don't ask, do this always" (Or what it is in english) No you might change as suggested.

more options

In my previous post I stated I tried it with Firefox and it still didn't work.

more options

TB is seeing my html attachment as a document and is opening it Notepad.

more options

Are you using Windows? If so, go to Control Panel -> Programs -> Default Programs -> Set Associations and scroll down to .html; double click it and choose Firefox.

Other OS's have a similar function. If you use Ubuntu, I can find that one for you also.

more options

One more thought: look at Preferences -> Attachments -> Incoming to see if 'HTML document' is listed under content type and the action is 'Use Firefox'. It is possible that the OS is overriding TB in what to do. Since you mentioned IE, I assume you are using Windows.

more options

All the settings you suggested have been tried. It still opens the attachment in Notepad. This problem wasn't present when I used Outlook so I can only surmise it's a Thunderbird problem.

When the attachment is saved and opened, it works fine. It just won't open from within the email.

I know it's one or two extra steps to get it to open correctly but that still doesn't fix the problem.

more options

The mail is probably generated by a script on a web site or router written by an ignorant programmer, quite probably using a script they copied from somewhere else because they know nothing of email.

If you look in your message source (ctrl+U) and check the encoding of the data and I am guessing your will not see.

Content-Type: text/html; charset=UTF-8;
 name="DocumentName.html" 

I would expect something like application octet stream if it is as poorly put together as most script generated emails are.

You may find the add-on Open attachments by extension will work around the deficiencies in the mailers software. But ideally the generating software should be brought up to standard.