Answer the question
In order to leave comments, you need to log in
Link href:mailto and detection of an active mail client - is it possible?
Greetings
There is a href:mailto link with the caption "write a letter". There are two options for the occurrence of events:
- The person clicks on the link, the mail client opens and the person writes and sends a letter.
- The person does not have any email client and when clicking on the link nothing happens.
Question: is it possible to determine the presence / absence of an email client and, if there is a client, then we go according to the first option, and if there is no client, then do something, for example, call alert?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question