I can do so much more in an email with a text/html
content type.
我的脚本应该以text / plain而不是text / html发送电子邮件吗?
- 写回答
- 好问题 0 提建议
- 追加酬金
- 关注问题
- 邀请回答
-
1条回答 默认 最新
- duanquyong8164 2011-01-21 14:14关注
Not all e-mail authoring tools support HTML markup. They should not send text/html if that is not what it was intended to be.
MIME types such as text/plain and text/html go beyond e-mails. They describe how content should be interpreted (by web browsers, mail clients, etc). If there's no markup on the data provided by the author (i.e., it is intended to be rendered as plain text), then text/plain is very useful for that (has been and always will be).
EDIT: You have changed your question a few times since I wrote this answer. To answer your latest version of the question, you should support text/plain if you want to allow your users the option of sending mail as plain text. Some people (such as me) prefer it. We don't like the un-necessary extra traffic and we don't like clients attempting to render it in any way but plain text (to preserve text-based formatting, like line breaks, spaces, tabs, etc).
本回答被题主选为最佳回答 , 对您是否有帮助呢?解决 无用评论 打赏 举报
悬赏问题
- ¥15 banner广告展示设置多少时间不怎么会消耗用户价值
- ¥16 mybatis的代理对象无法通过@Autowired装填
- ¥15 可见光定位matlab仿真
- ¥15 arduino 四自由度机械臂
- ¥15 wordpress 产品图片 GIF 没法显示
- ¥15 求三国群英传pl国战时间的修改方法
- ¥15 matlab代码代写,需写出详细代码,代价私
- ¥15 ROS系统搭建请教(跨境电商用途)
- ¥15 AIC3204的示例代码有吗,想用AIC3204测量血氧,找不到相关的代码。
- ¥20 CST怎么把天线放在座椅环境中并仿真