Jay6395558
Posts: 0
Joined: Thu Nov 07, 2013 8:17 pm

Email with Android

I have a button for sending us an email. When a user clicks on it there is a command to open an email window. It works great with IOS but not with Android. With an Android phone you get the error message, "Application Error - The protocol isn't supported. (mailto:a href="mailto:marketing@mitechnologies.com" rel="nofollow"marketing@mitechnologies.com/a)". The code I am using is...

codewindow.open('mailto:marketing@mitechnologies.com');/code

Is there something else I need to add to this code for it to work properly on an Android phone?

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

Email with Android

Hello Jay,

Could you please try using this code:

codewindow.location.href = "mailto:marketing@mitechnologies.com&quot /code

Alberto da Silva
Posts: 0
Joined: Thu Jan 26, 2012 12:38 am

Email with Android

This code does not work if the app is installed on the Android device.

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

Email with Android

You can try this way:
codewindow.open("mailto:marketing@mitechnologies.com");/code

Emerson
Posts: 0
Joined: Tue Jun 16, 2015 8:54 pm

Email with Android

use:

window.open(link, "_system");

where "link" is a variable defining the "mailto:" section. (var link= "mailto:xxxx")

Return to “Issues”