How to open URL to open the external email sending app from TWebBrowser in FireMonkey mobile application

  

I’m using Delphi 10.1 Berlin for developing a mobile application for iOS and Android which has the TWebBrowser component. In this, I have loaded a webpage with this code in it:

<a href=”http://www.google.com”>www.google.com</a>
<a href=”mailto:sample@gmail.com?subject=Test”>sample@gmail.com</a>

When the first label is clicked, the link is opening inside the TWebBrowser itself. As per my requirements, it should open in an external browser instead.

When the second label is clicked, the external email sending app is not opening.

Please help me resolve this issue.

Do I need to add anything in the webpage, or do I need to add anything to the Delphi code?

Comments are closed.