如何使用 mailto: URI 强制新邮件消息为纯文本?
How can I force a new mail message to be plain text using the mailto: URI?
将通知电子邮件用作工作流程的一部分。通知包含的操作按钮是 mailto: 链接,这些链接生成一条消息,供被通知的用户将他们的首选操作发送回服务器。对于其中一些操作,我需要从电子邮件的第一行捕获评论。
目前MS Outlook中的新邮件window正在HTML模式下生成。当我们收到电子邮件时,评论被记录为看似随机的字母数字字符串。如果我在 MS Outlook 新消息 window 中手动 select 'plain text',我们会按预期记录评论。
有没有办法使用 mailto: URI 强制电子邮件以纯文本形式发送,而不是 HTML?
谢谢
詹姆斯
没有
the protocol 中的任何内容都不允许您建议创建的电子邮件的内容类型。
The user agent interpreting a mailto URL SHOULD choose not to
create a message if any of the headers are considered dangerous; it
may also choose to create a message with only a subset of the
headers given in the URL. Only the Subject, Keywords, and Body
headers are believed to be both safe and useful.
将通知电子邮件用作工作流程的一部分。通知包含的操作按钮是 mailto: 链接,这些链接生成一条消息,供被通知的用户将他们的首选操作发送回服务器。对于其中一些操作,我需要从电子邮件的第一行捕获评论。
目前MS Outlook中的新邮件window正在HTML模式下生成。当我们收到电子邮件时,评论被记录为看似随机的字母数字字符串。如果我在 MS Outlook 新消息 window 中手动 select 'plain text',我们会按预期记录评论。
有没有办法使用 mailto: URI 强制电子邮件以纯文本形式发送,而不是 HTML?
谢谢 詹姆斯
没有
the protocol 中的任何内容都不允许您建议创建的电子邮件的内容类型。
The user agent interpreting a mailto URL SHOULD choose not to create a message if any of the headers are considered dangerous; it may also choose to create a message with only a subset of the headers given in the URL. Only the Subject, Keywords, and Body headers are believed to be both safe and useful.