title: Sending email with HTML form
body: <p>I want to send an email after submitting a html form without using a server , is this possible? </p>
  
  <p>i tried a javascript solution </p>
  
  <pre><code>function sendMail() {
      var link = "mailto:myemail@mail.com"
               + "?cc=myCCaddress@example.com"
               + "&amp;subject=" + escape("This is my subject")
               + "&amp;body=" + escape(document.getElementById('name').value)
      ;
  
      window.location.href = link;
  
  }
  </code></pre>
  
  <p>But it did not work , is there a solution please? </p>