Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/jquery-ui/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Html mailto与android不兼容如何解决这个问题?_Html_Mailto - Fatal编程技术网

Html mailto与android不兼容如何解决这个问题?

Html mailto与android不兼容如何解决这个问题?,html,mailto,Html,Mailto,我真的被困在这一个,我希望人们点击一个按钮,并在电子邮件正文中的参数电子邮件的url。它在台式机、笔记本电脑上运行良好,但在移动设备上不发送参数 工作: 不工作的移动设备: 我的代码: <?php $encoded_url = urlencode( getUrl() ); ?> <a href="mailto:(hidden)@gmail.com?subject=Geinteresseerd in deze advertentie&body=<?php

我真的被困在这一个,我希望人们点击一个按钮,并在电子邮件正文中的参数电子邮件的url。它在台式机、笔记本电脑上运行良好,但在移动设备上不发送参数

工作:

不工作的移动设备:

我的代码:

<?php
  $encoded_url = urlencode( getUrl() );
?>

<a href="mailto:(hidden)@gmail.com?subject=Geinteresseerd in deze advertentie&body=<?php echo  $encoded_url; ?>" title="Advertentie" target="_blank" class="btn btn-email"><i class="fa fa-email"></i> Reageer nu</a>

您需要将数据rel=外部添加到链接标记:

<a href="mailto:(hidden)@gmail.com?subject=Geinteresseerd in deze advertentie&body=<?php echo  $encoded_url; ?>" title="Advertentie" data-rel="external" target="_blank" class="btn btn-email"><i class="fa fa-email"></i> Reageer nu</a>

你的网站在我的手机上工作。。。你在用什么手机?