搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

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.