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

搜索 | 用户支持

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

详细了解

How can I remove the background color setting from the HTML email composition, so that the email is sent without a specified background color?

  • 5 个回答
  • 3 人有此问题
  • 50 次查看
  • 最后回复者为 Doskious

more options

I prefer a "dark" theme, but I don't want to inflict my preferences on my colleagues who read emails in a "light" themed context, so I do not want to set a composition background for my emails as a "dark" background. At the same time, if I configure my email composition to use a white background, once sent, that setting overrides my preference for a dark-themed experience, and makes it headache-inducing to reference my own emails.

Emails that my colleagues send to me, and emails I send via our webmail interface, do not have this issue because they do not explicitly identify a background color. I would like to cause Thunderbird to similarly not specify default, email-wide colors, ideally for both background and foreground in HTML compositions, but no such option is available in the Composition preferences.

I prefer a "dark" theme, but I don't want to inflict my preferences on my colleagues who read emails in a "light" themed context, so I do not want to set a composition background for my emails as a "dark" background. At the same time, if I configure my email composition to use a white background, once sent, that setting overrides my preference for a dark-themed experience, and makes it headache-inducing to reference my own emails. Emails that my colleagues send to me, and emails I send via our webmail interface, do not have this issue because they do not explicitly identify a background color. I would like to cause Thunderbird to similarly not specify default, email-wide colors, ideally for both background and foreground in HTML compositions, but no such option is available in the Composition preferences.

被采纳的解决方案

Finally figured out how to do this properly today, and I feel somewhat like an idiot for not realizing it immediately.

In Preferences > Advanced, load the Config Editor and accept the risk. Locate your msgcompose.background_color and set it to transparent (the literal string "transparent", no quotes). This should propagate to the CSS sheet that is injected into your email, allowing it to display on your system as matching your default bg color, but allowing it to display on others' systems as matching their default BG color.

I believe that, to ensure the text is also rendered properly in all cases, you should set your msgcompose.text_color to "initial" as well...

定位到答案原位置 👍 0

所有回复 (5)

more options

You could ensure your recipients do not receive html emails. In Options > Composition > 'General' tab select 'Send Options' and choose to only send in Plain Text. This strips all formatting.


Alternatively, you could set the computer to use a dark theme. EG: Control Panel > Personalization > Window colour and appearance choose 'High Contrast Black' then everything will appear black to you, but the actual email still uses the default white background as specified in Options > Composition.

more options

Thanks for the suggestionsToad-Hall said

You could ensure your recipients do not receive html emails. In Options > Composition > 'General' tab select 'Send Options' and choose to only send in Plain Text. This strips all formatting. Alternatively, you could set the computer to use a dark theme. EG: Control Panel > Personalization > Window colour and appearance choose 'High Contrast Black' then everything will appear black to you, but the actual email still uses the default white background as specified in Options > Composition.

Thanks for the suggestions, but neither of these answer my question.

I should clarify that I'm not interested in finding a way to cause my display to render the emails with a dark format, I'm asking about a way to exercise a greater degree of control over the actual contents of my outgoing messages, so as to uniformly stop my messages from specifying fixed rendering colors.

more options

Have you checked your preferences?

Open the Options Window. Click Display -> Formatting. Click the Colors button. Check if the preferred preferences are selected.

more options

The only options that are presented when clicking on the colors button in that location are color options. I'm looking for an option that causes no specific color to be set or applied. The user interface does not appear to provide any way to specify this preference, as selecting any color is a selection of that color as opposed to no specific color...

I want my html email content to render for each recipient using whatever default coloring that recipient has configured. The thunderbird ui does not a to support that option, but I thought I might have missed something or might be able to manually edit a template file or some other settings/configuration file to achieve my desired results...

more options

选择的解决方案

Finally figured out how to do this properly today, and I feel somewhat like an idiot for not realizing it immediately.

In Preferences > Advanced, load the Config Editor and accept the risk. Locate your msgcompose.background_color and set it to transparent (the literal string "transparent", no quotes). This should propagate to the CSS sheet that is injected into your email, allowing it to display on your system as matching your default bg color, but allowing it to display on others' systems as matching their default BG color.

I believe that, to ensure the text is also rendered properly in all cases, you should set your msgcompose.text_color to "initial" as well...