HTML HTML Basics Going Further with HTML Link to Email

Joseph Sockey
Joseph Sockey
1,374 Points

Email link not working?

I'm not sure what I'm doing wrong with my code but I never got the instant email pop up. <a href="mailto:coolvrexperience@gmail.com? subject=Hi%20There!">coolvrexperience@gmail.com</a>

2 Answers

Jacob Smith
Jacob Smith
10,914 Points

For those using the Mail Application. I was having the same issue and couldn't figure out why. 1) I opened Mail 2) Selected preferences 3) Selected the General tab 4) Default email reader: Mail

*Make sure Mail is selected if you are wanting the click event to open a new email in Mail

Sebastian Speydel
Sebastian Speydel
1,733 Points

JosepH

Try to leave out the space between the question mark and the word "subject". I have marked with an X where you should remove the space in your code.

href="mailto:coolvrexperience@gmail.com?XXXXXsubject=Hi%20There!">coolvrexperience@gmail.com</a>

I hope this will help!.

Greetings