Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Hyperlink to email address

Tags:

html

email

web

I'm trying to create a clickable email address which when clicked on, opens up the visitors' email application with the email address in the "send to".

I tried using:

<a href="mailto:[email protected]">mailto:[email protected]</a>

It works well when the link is displayed on a mobile. It opens up the Gmail application. However, when I try to click on it on the web it does nothing.

Thank you!

like image 202
Chip Avatar asked Oct 29 '25 17:10

Chip


1 Answers

Your link is valid.

mailto links are signal for your browser to open a default e-mail application.

Try specifying default E-Mail application in your OS or another browser.

P.S. <a href="mailto:[email protected]">Email Us</a> also works well

like image 83
Daniel Listopadov Avatar answered Oct 31 '25 06:10

Daniel Listopadov