为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

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

详细了解

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