html - 带有 HTML 正文的 mailto 链接

标签 html email mailto

我有几个 mailto HTML 文档中的链接。

<a href="mailto:etc...">

我可以在 mailto: 中插入 HTML 格式的正文吗? href 的一部分?

<a href="mailto:me@me.com?subject=Me&body=<b>ME</b>">Mail me</a>

注意 (2016) 在 iOS 中,添加 <i> 完全没问题和 <b>用于简单斜体、粗体格式的标签。

最佳答案

正如您在 RFC 6068 中看到的那样,这根本不可能:

The special <hfname> "body" indicates that the associated <hfvalue> is the body of the message. The "body" field value is intended to contain the content for the first text/plain body part of the message. The "body" pseudo header field is primarily intended for the generation of short text messages for automatic processing (such as "subscribe" messages for mailing lists), not for general MIME bodies.

关于html - 带有 HTML 正文的 mailto 链接,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5620324/

相关文章:

css - mailto 链接请转到下一个链接

javascript - html mailto 链接中的光标位置

html - Bootstrap - float 操作按钮菜单大小和阴影

javascript - 为什么DIV不展开显示文字

ios - 处理电子邮件不存在错误 - 使用 swift 的 iOS 项目

git - 使用 git send-email 回复邮件列表中的同一线程

php - 使用php定期发送电子邮件到存储在mysql中的邮件地址

javascript - 如何更改另一个跨度内的跨度文本?

javascript - 使用 JavaScript 比较运算符与当前时间

outlook - 在outlook中打开mailto链接(网页版)