how can i allow a clickable "EMAIL" text in html to automatically open some email app or site inserting the clicked email in the " To: " form?
Asked
Active
Viewed 8,746 times
-2
-
1`Send Mail` should do it. – Mohd Asim Suhail May 10 '19 at 17:51
-
1This is an exact duplicate of [How to send mail with a Subject using a Mailto URL?](https://stackoverflow.com/q/1093925/691711). – zero298 May 10 '19 at 17:57
3 Answers
3
Simply use the mailto URL format, like so:
<a href="mailto:someone@somewhere.com">email</a>

Alex Broadwin
- 1,288
- 11
- 23
1
Simply use the following URL format
<a href="https://mail.google.com/mail/?view=cm&fs=1&tf=1&to=someone@somewhere.com" target="_blank">someone@somewhere.com</a>

pankaj panchal
- 11
- 3
-
2While this code may solve the question, [including an explanation](//meta.stackexchange.com/q/114762) of how and why this solves the problem would really help to improve the quality of your post, and probably result in more up-votes. Remember that you are answering the question for readers in the future, not just the person asking now. Please [edit] your answer to add explanations and give an indication of what limitations and assumptions apply. – Yunnosch May 05 '21 at 13:39