為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

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

了解更多

Receive HTML code in message, how to convert?

  • 5 回覆
  • 2 有這個問題
  • 11 次檢視
  • 最近回覆由 user224603

more options

Usually I can read all my mail (text or HTML), yet one correspondent sent me a message containing HTML code. here it is:

I used a conversion program by Mail Chimp and, indeed, the lines converted into a table with three columns and four lines. Can I make Thunderbird to do the conversion before displaying the message?
DateDescriptionAmount
05/30/2014Velocity16.01
06/01/2014Member Dues227.00
06/01/2014Payment - EFT-243.01
Usually I can read all my mail (text or HTML), yet one correspondent sent me a message containing HTML code. here it is: <!DOCTYPE html> <html> <body> <table border=1><tr><td width=100><b>Date</b></td><td width=300><b>Description</b></td><td width=100><b>Amount</b></td></tr> <tr><td>05/30/2014</td><td>Velocity</td><td align=right>16.01</td><tr> <tr><td>06/01/2014</td><td>Member Dues</td><td align=right>227.00</td><tr> <tr><td>06/01/2014</td><td>Payment - EFT</td><td align=right>-243.01</td><tr> I used a conversion program by Mail Chimp and, indeed, the lines converted into a table with three columns and four lines. Can I make Thunderbird to do the conversion before displaying the message?

被選擇的解決方法

The doubling of the first lines of code happened by me using the Mail Chimp converter on the HTLM section of the message. I do not have the original of the message, the saved version has the HTML converted.

The billing agent of our health club sends out hundreds of bills via e-mail from a commercial billing program. She says that I am the only one complaining that the message is not shown properly.

I know now what to do: just save the messge then the code gets converted.

I will now close the issue ans I thank you very much.

從原來的回覆中察看解決方案 👍 1

所有回覆 (5)

more options

I just entered this question and to my surprise the HTML code I included was automatically converted into the table when I posted the question.

I have now placed the HTML code into an imgage and attach it here.

So the Mozilla Forum easily converts the HTML code, hwo can we make Thunderbird do the same?

more options

I suspect the html code is incomplete or inconsistent in some way, but this forum software is more tolerant than Thunderbird in this respect.

It would be useful to see the complete message content, but obviously there are concerns with privacy.

more options

Thanks Zenos, I still have the complete message. I had saved it in one of the mail folders. Again, I was surprised, the HTML code was properly converted in the saved version: the table was shown wiith all borders, the values with currency symbols etc.

I then forwarded the saved version of the message to myself. In the inbox the message showed up with an incomplete conversion: no borders of the table, the columns not lined up .

Then I saved the message again from the inbox to the mail folder. This time it has been saved as is, i.e. no borders and misalignment.

The original message contains no private information except my e-mail address, the other identifiers are all public address elements of our health club.

If it would help to identify what may be wrong with theThunderbird Inbox processing, that it ignores HTML code and if you would be so kind as to pusue the issue, I will send you the saved version of the message. Just give me an address.

more options

That snippet starts with < !docType html > < html > and < body > those three things should appear once and once only in a html document, and not in the middle. That is was rendered at all is the bug if there is one. The table should have been an attachment. Your email has two bodies (that should be enough to confuse most HTML parsing engines)

由 Matt 於 修改

more options

選擇的解決方法

The doubling of the first lines of code happened by me using the Mail Chimp converter on the HTLM section of the message. I do not have the original of the message, the saved version has the HTML converted.

The billing agent of our health club sends out hundreds of bills via e-mail from a commercial billing program. She says that I am the only one complaining that the message is not shown properly.

I know now what to do: just save the messge then the code gets converted.

I will now close the issue ans I thank you very much.