我的HTML中有一个mailto链接。HREF是
<a href="mailto:?to=&body=AAA,&subject=BBB">MAIL</a>换句话说,我指定的是主体和主题,而不是接收者。
在Ubuntu上的Chrome中,单击此按钮会出现一个错误对话框
Unable to detect the URI-scheme of "mailto:?body.....请注意,Firefox为同一链接正确地打开了Thunderbird。
如何对此链接进行编码以使其正常工作?
Chrome 34.0.1847.137 Ubuntu 13.10
发布于 2014-05-25 16:06:05
如果我理解正确的定义,这应该是可行的:
<a href="mailto:?to=&body=AAA,&subject=BBB">MAIL</a>至少它在OSX…上的Chrome36上可以工作
发布于 2014-05-25 01:42:32
尝试在mailto:和?body=AAA,&subject=BBB之间添加一个空格,如下所示:
<a href="mailto: ?body=AAA,&subject=BBB">mail link</a>或者像这样添加the space as Unicode:
<a href="mailto:%20?body=AAA,&subject=BBB">mail link</a>发布于 2014-05-31 07:11:17
那<a href="mailto:?to=%20&body=AAA,&subject=BBB">mail link</a>呢?
https://stackoverflow.com/questions/23813123
复制相似问题