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

搜尋 Mozilla 技術支援網站

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

了解更多

HTML Template?

more options

Hello guys! I coded a HTML-eMail-Template as a simple HTML-File. I coded CSS inside the file and used tables to design the site.

Now I have a simple(?) question? How I can use this HTML-Template as an eMail-Template with all pictures and CSS?

Regrads, Grussler

Hello guys! I coded a HTML-eMail-Template as a simple HTML-File. I coded CSS inside the file and used tables to design the site. Now I have a simple(?) question? How I can use this HTML-Template as an eMail-Template with all pictures and CSS? Regrads, Grussler

所有回覆 (5)

more options

Try this: open a new Write window as if you are creating an HTML message, then Insert/HTML... and paste your code, then save as a template.

There is also an add-on with more-sophisticated template and html-coding options:

https://addons.mozilla.org/en-US/thunderbird/addon/stationery/

more options

Hey! Thanks for your answer, bit I have now the Problem, that I have red boxes in my Mail, some CSS didn't showed up and I can't send it.

Btw, I imported the file via the Plugin... A Screenshot is attached!

Regards, Grussler

more options

Where was the CSS? If it was in the <head> section, you may need to move it into the <body>.

I'm pretty sure the dotted red lines indicate table cells and are just for your reference in composing -- those are not borders that will be displayed in the received message.

When you say you can't send it... what happens when you try to send it? (To yourself, presumably, until it's all worked out.)

more options

I moved in the Body-Tag, didn't work.

And I can't send it, because the Send-Button is disabled...

Regrads,

more options

I don't have Thunderbird on this computer so I can't test... Is the Send button enabled if you type something first (asdf or whatever) and then after that insert the HTML? Wondering whether there is something oddly corrupting about doing the insert before the body has any content.