We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

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

Receive HTML code in message, how to convert?

  • 5 replies
  • 2 have this problem
  • 11 views
  • Last reply by 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?

Chosen solution

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.

Read this answer in context 👍 1

All Replies (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)

Modified by Matt

more options

Chosen Solution

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.