1

mailto for email

I wrote below code in my blog,

<a href="mailto:harehare@gmail.com?subject=My blog">
<div class='social-popout'><img alt='Gmail social icon' src='http://i57assa.com/106asaj5h.jpg'/></div>
</a>

I also chnage setting in my chrome browser's handler too...

Jalpesh
  • 63
  • 6
  • Works for me in Chrome on OSX, to the point that it brings up the configuration dialog for Mail.app. – tripleee Sep 05 '15 at 07:23

1 Answers1

2

Your mailto-URl contains a space. Spaces in URLs are unsafe characters and must be encoded. See Is a URL allowed to contain a space?

Community
  • 1
  • 1
Drunix
  • 3,313
  • 8
  • 28
  • 50