电子邮件链接在Android上无效 [英] Email link not working on Android

查看:236
本文介绍了电子邮件链接在Android上无效的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个HTML代码,点击电子邮件链接,它在我的电脑上工作正常,但不适用于移动设备(我只有Android,所以我不知道问题只在Android或所有的移动设备)。当我按链接浏览器说:


页面不可用。 电子邮件地址:ar1speed@yahoo.com受试者=里程%20%20%20&安培;身体=? 今天%20date:%0D%0ABusiness%20Mileage:%0D%0ADid%20you%20have%20A%20business%20passenger%0D %0AAdditional%20details:可能暂时停止或可能已经永久移动到新的网址。


有人可以告诉我如何解决这个问题,点击发送电子邮件链接至关重要。



我的代码如下:

 < p> 
< a href =mailto:ar1speed@yahoo.com?subject =里程& body =今天日期:%0D%0ABusiness里程: 0D%0ADid你有一个商务乘客%0D%0A另外的细节:>
点击发送电子邮件
< / a>
< / p>


解决方案

这是一个与Android操作系统相关的问题


问题63538:Mailto链接解析不正确,完全输入到地址栏



设备已确认:Nexus 4(测试了两个设备)

Android版本:仅限4.4.2(在4.3和4.4.0中测试)



错误详细信息:



Mailto链接完全输入到地址字段中,而不是被解析成Address,Subject和Body。屏幕截图显示问题。



I have the code for a click to email link in HTML and it works fine on my pc but doesn't work on mobile devices (I only have Android so I don't know if the problem is only on Android or all mobile devices). When I press the link the browser says:

Webpage not available. "mailto:ar1speed@yahoo.com?subject=Mileage%20%20%20&body="Todays%20date:%0D%0ABusiness%20Mileage:%0D%0ADid%20you%20have%20a%20business%20passenger?%0D%0AAdditional%20details:" might be temporarily down or it may have moved permanently to a new web address.

Can someone please tell me how to fix this problem it is vital that the Click to send email link works.

My code is below:

<p>
   <a href="mailto:ar1speed@yahoo.com?subject=Mileage&body="Todays date:%0D%0ABusiness Mileage:%0D%0ADid you have a business passenger%0D%0AAdditional details:">
       Click to send email
   </a>
</p>

解决方案

That's an issue with Android OS:

Issue 63538: Mailto links are parsed incorrectly, entered entirely into the address field

Devices Confirmed: Nexus 4 (two devices tested)
Android Version: 4.4.2 only (tested in 4.3 and 4.4.0)

Bug details:

Mailto links are entirely entered into the address field instead of being parsed into Address, Subject and Body. Screenshot is attached showing issue.

这篇关于电子邮件链接在Android上无效的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆