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

搜尋 Mozilla 技術支援網站

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

了解更多

HTML outbound message size

  • 6 回覆
  • 1 有這個問題
  • 18 次檢視
  • 最近回覆由 42rhabib

more options

Hello !

I have an issue using thunderbird latest version (78.5.1)

Whenever i'm sending an HTML message the size of the sent messages is way bigger than it should be.

For example, copying an HTML page and sending it using another web client the sent message is 58 KO but using Thunderbird the file size is 140 KO

this is a huge problem as going above 100 KO will make my message be truncated/clipped on some mail client.

I've compared the source file of the message sent from another client and thunderbird and the amount of lines went from 917 on the first one to over 2000 on the thunderbird one

for some reason Thunderbird is adding a lot of useless space on the sent HTML. I've even used an online minifier and while it reduces the original HTML file size by nearly half, it was the exact same size and layout once sent.

I'm also using Quicktext extension to load HTML template but there don't seem to be any difference if I paste the HTML or load it from the extension.

Is there a way to send the HTML mail with the default layout or prevent Thunderbird from adding unneccessary space ? I've tried various methods using the config editor but nothing that solved it so far.

Thank you in advance, and sorry for my broken english (frenchie here) !

Hello ! I have an issue using thunderbird latest version (78.5.1) Whenever i'm sending an HTML message the size of the sent messages is way bigger than it should be. For example, copying an HTML page and sending it using another web client the sent message is 58 KO but using Thunderbird the file size is 140 KO this is a huge problem as going above 100 KO will make my message be truncated/clipped on some mail client. I've compared the source file of the message sent from another client and thunderbird and the amount of lines went from 917 on the first one to over 2000 on the thunderbird one for some reason Thunderbird is adding a lot of useless space on the sent HTML. I've even used an online minifier and while it reduces the original HTML file size by nearly half, it was the exact same size and layout once sent. I'm also using Quicktext extension to load HTML template but there don't seem to be any difference if I paste the HTML or load it from the extension. Is there a way to send the HTML mail with the default layout or prevent Thunderbird from adding unneccessary space ? I've tried various methods using the config editor but nothing that solved it so far. Thank you in advance, and sorry for my broken english (frenchie here) !
附加的畫面擷圖

被選擇的解決方法

I do not see any 'unnecessary' space. There are at least five tables in that email that show a close and loads of 'div' that need closing.

When you 'copy and paste' all the formatting that was previously included in the original MS created email, it will look completely bloated.

Recreate the email in Thunderbird and save it as a template and it will only include what is necessary for the email and it will be a lot smaller.

It's almost as if someone originally created it to be posted in a webpage.

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

所有回覆 (6)

more options

You picture shows an msoNormal tag, which suggests it's been composed with Outlook or Word. Are you composing in Word and then copying into a TB Write window?

more options

I did extract the source of the HTML from Outlook yes.

but it was a mail sent from GMAIL so not exactly "composed" in outlook. (I think)

more options

Was it composed in gmail webamail, or composed in a gmail account set up in Outlook? I think you will always find that MS software adds significant formatting to html mail, no matter which client is used. Compare the size of an html message composed in Outlook with that of an identical message composed in TB.

more options

Well the original HTML file cas composed externally using some Adobe software, but the result was sent to my account using Gmail.

I don't get why I can send it with literally any mail tool and Thunderbird is the only one that increase the file size by twice the original value.

Maybe if I could share you the original HTML code you might figure it out but I can't share it here.

more options

選擇的解決方法

I do not see any 'unnecessary' space. There are at least five tables in that email that show a close and loads of 'div' that need closing.

When you 'copy and paste' all the formatting that was previously included in the original MS created email, it will look completely bloated.

Recreate the email in Thunderbird and save it as a template and it will only include what is necessary for the email and it will be a lot smaller.

It's almost as if someone originally created it to be posted in a webpage.

more options

I ended up recreating the whole template on Thunderbird like you stated and it's working like it should.

thanks