[javascript] How to send an email from JavaScript

_x000D_
_x000D_
function send() {_x000D_
  setTimeout(function() {_x000D_
    window.open("mailto:" + document.getElementById('email').value + "?subject=" + document.getElementById('subject').value + "&body=" + document.getElementById('message').value);_x000D_
  }, 320);_x000D_
}
_x000D_
input {_x000D_
  text-align: center;_x000D_
  border-top: none;_x000D_
  border-right: none;_x000D_
  border-left: none;_x000D_
  height: 10vw;_x000D_
  font-size: 2vw;_x000D_
  width: 100vw;_x000D_
}_x000D_
_x000D_
textarea {_x000D_
  text-align: center;_x000D_
  border-top: none;_x000D_
  border-right: none;_x000D_
  border-left: none;_x000D_
  border-radius: 5px;_x000D_
  width: 100vw;_x000D_
  height: 50vh;_x000D_
  font-size: 2vw;_x000D_
}_x000D_
_x000D_
button {_x000D_
  border: none;_x000D_
  background-color: white;_x000D_
  position: fixed;_x000D_
  right: 5px;_x000D_
  top: 5px;_x000D_
  transition: transform .5s;_x000D_
}_x000D_
_x000D_
input:focus {_x000D_
  outline: none;_x000D_
  color: orange;_x000D_
  border-radius: 3px;_x000D_
}_x000D_
_x000D_
textarea:focus {_x000D_
  outline: none;_x000D_
  color: orange;_x000D_
  border-radius: 7px;_x000D_
}_x000D_
_x000D_
button:focus {_x000D_
  outline: none;_x000D_
  transform: scale(0);_x000D_
  transform: rotate(360deg);_x000D_
}
_x000D_
<!DOCTYPE html>_x000D_
<html>_x000D_
_x000D_
<head>_x000D_
  <title>Send Email</title>_x000D_
</head>_x000D_
_x000D_
<body align=center>_x000D_
  <input id="email" type="email" placeholder="[email protected]"></input><br><br>_x000D_
  <input id="subject" placeholder="Subject"></input><br>_x000D_
  <textarea id="message" placeholder="Message"></textarea><br>_x000D_
  <button id="send" onclick="send()"><img src=https://www.dropbox.com/s/chxcszvnrdjh1zm/send.png?dl=1 width=50px height=50px></img></button>_x000D_
</body>_x000D_
_x000D_
</html>
_x000D_
_x000D_
_x000D_