Page 1 of 1

Email with Android

Posted: Fri May 30, 2014 1:49 pm
by Jay6395558

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?


Email with Android

Posted: Fri May 30, 2014 3:02 pm
by Evgene Karachevtsev

Hello Jay,

Could you please try using this code:

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


Email with Android

Posted: Fri Jun 26, 2015 3:50 am
by Alberto da Silva

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


Email with Android

Posted: Sat Jun 27, 2015 8:08 pm
by Illya Stepanov

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


Email with Android

Posted: Mon Jun 29, 2015 4:59 pm
by Emerson

use:

window.open(link, "_system");

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