如何创建HTML格式的电子邮件 [英] How do I create an HTML formatted email
本文介绍了如何创建HTML格式的电子邮件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我使用两个电子邮件程序,gmail和entourage(由Microsoft提供).我想知道如何创建类似于网页的电子邮件.Apple一直将这些发送给我,但是我不知道如何重新创建它们.有人可以帮忙吗?
I use two email programs, gmail and entourage (by Microsoft). I was wondering how do i create an email that will look like webpage. Apple sends me these all the time, but i have no idea how to re-create them. Could anyone help?
推荐答案
基本上,电子邮件客户端程序(包括基于Web的Gmail电子邮件客户端程序)中显示的HTML与常规电子邮件客户端之间存在一些区别.在设计HTML电子邮件时.
Basically there are a few differences between HTML displayed inside email client programs (including web-based ones like Gmail) and regular email clients that you need to take into consideration while designing your HTML email.
- CSS/样式-许多电子邮件客户端不支持
< style> ...</style>
标签(包括GMail).因此,您的样式必须是内联的-< p style ="color:red">
- 使用表格代替div进行布局-是的,很遗憾,很多客户端不支持div,因此表格是创建复杂的新闻稿类型HTML电子邮件格式的最可靠方法.
- CSS/Styles - A lot of email clients do not support
<style>...</style>
tags (including GMail). Therefore your styles will have to be inline -<p style="color:red">
- Use tables instead of divs for layout - Yes unfortunately divs aren't supported on a lot of clients, therefore tables are the most reliable way of creating complex newsletter type HTML email formats.
某些链接-
- http://www.htmlgoodies.com/beyond/css/article.php/3679231/How-to-Create-Great-HTML-Emails-with-CSS.htm
- http://mailformat.dan.info/headers/mime.html 有关MIME和HTML的信息
- http://www.microsoft.com/download/en/details.aspx?displaylang = en& id = 23683 -不确定这是否对随行人员有所帮助,但不确定Microsoft的用于验证html/css前景的工具.至少让您了解一个电子邮件客户端将允许和不允许的内容.
- http://www.htmlgoodies.com/beyond/css/article.php/3679231/How-to-Create-Great-HTML-Emails-with-CSS.htm
- http://mailformat.dan.info/headers/mime.html info on MIME and HTML
- http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=23683 - Not sure if this will help for entourage but microsoft's tool to validate html/css for outlook. At least give you an idea of what one email client will and wont allow.
HTH
这篇关于如何创建HTML格式的电子邮件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文