html send mail

  

<html>
<body>
<script>
var formattedBody = "FirstLine \n Second Line \n Third Line";
var mailToLink = "mailto:x@y.com?body=" + encodeURIComponent(formattedBody);
window.location.href = mailToLink;
</script>
</body>
</html>

  

window下默认是outlook

也可以上chrome的plugin market下载mailto插件