Recently we added a feature that uses the mailto link. While testing it was found that working fine on Desktops, iPhones, and iPad’s but not on android devices. To debug it quickly, we created a test page with just mailto link in it as shown below
<a href="mailto:email@example.com?Subject=Hello%20again" target="_blank">Send Mail</a>
and then tested this test page, and guess what it works with the android device!!!.
So, this means that something is different or special in the actual (application’s) HTML. After investigating further, we realized that the ‘mailto’ link is placed within a nested iFrame instead of the top level page.
This concludes that this case was not getting handled on Android when mailto is within an iFrame.
Then to quickly try again, we updated the target attribute of the anchor tag to value “_top”. Miraculously it worked!!!
<a href="mailto:firstname.lastname@example.org?Subject=Hello%20again" target="_top">Send Mail</a>
Hope this helps!!!