Html mailto与android不兼容如何解决这个问题?
我真的被困在这一个,我希望人们点击一个按钮,并在电子邮件正文中的参数电子邮件的url。它在台式机、笔记本电脑上运行良好,但在移动设备上不发送参数 工作: 不工作的移动设备: 我的代码: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
<?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>
你的网站在我的手机上工作。。。你在用什么手机?