How to detect if javascript mailto failed (eg no email client configured) -


i have found if use code:

function emailer() {   return window.open("mailto:someone@gmail.com?subject=whatever is") }  emailer(); 

on computer no email client configured, well, doesn't work. in case find out if there error , paste text send element in page , prompt user paste message email , send me - in less convenient way.

how detect if there error on using mailto?

update:

i wait little longer responses looks not possible. think have offer simpler alternative every time , make obvious user use if automated email option fails.


Comments

Popular posts from this blog

html5 - What is breaking my page when printing? -

html - Unable to style the color of bullets in a list -

c# - must be a non-abstract type with a public parameterless constructor in redis -