问题描述
我使用mailto协议启动默认邮件客户端。
I am using mailto protocol to launch default mail client.
在mailto协议正文客户端我需要插入换行。如果我使用 \ n ,则不会显示换行符。
In mailto protocol body client I need to insert line break.If I use \n line break is not displaying.
以及如何转义特殊字符,例如",&,{ ,}等等。
and how to escape special characters such as ", &,{, }, etc.
请有人帮助我。
推荐答案
我使用mailto协议启动默认邮件客户端。
I am using mailto protocol to launch default mail client.
在mailto协议正文客户端我需要插入换行符。如果我使用 \ n 换行符没有显示。
In mailto protocol body client I need to insert line break.If I use \n line break is not displaying.
以及如何转义特殊字符,例如"," &,{,}等等。
and how to escape special characters such as ", &,{, }, etc.
请有人帮助我。
你可以在这里找到一个例子:
You can find an example here:
http://garywaddell.com/2010/11/11/mailto-adding-line-breaks-in-the-body/
http://garywaddell.com/2010/11/11/mailto-adding-line-breaks-in-the-body/
这篇关于在C ++中如何在mailto协议中使用新行?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!