title: jQuery to Send Email from Form?
body: <p>I'm trying to have my form send me an email every time the "Submit Query" button is clicked. The form is validated and brings the user to a confirmation page after the button is clicked, but I get no email.</p>
  
  <p>Form code:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>$(document).ready(function() {
      $('#sumbit').click(function() {
          $('#contactform').attr('action',
                         'mailto:chinochinako@gmail.com?subject=Jeannette Chambliss Digital Portfolio' +
                         $('#name').val() + '&amp;body=' + $('#email').val() + '&amp;body=' + $('#comments').val() + '&amp;body=');
          $('#contactform').submit();
      });
  });</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;html&gt;
  &lt;head&gt;
  &lt;script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"&gt;&lt;/script&gt;
  &lt;script src="http://malsup.github.io/min/jquery.cycle2.min.js"&gt;&lt;/script&gt;
  &lt;/head&gt;
  &lt;body&gt;
  &lt;form onSubmit="MM_validateForm('name','','R','comments','','R');return document.MM_returnValue" id="contactform"&gt;
   &lt;label for="name"&gt;Full Name:
    &lt;input name="name" type="text" id="name" required="required"&gt;&lt;/label&gt;&lt;br /&gt;&lt;br /&gt;
   &lt;label for="email"&gt;Email:
   &lt;input name="email" type="email" id="email" required="required"&gt;&lt;/label&gt;&lt;br /&gt;&lt;br /&gt;
   &lt;label for="comments"&gt;Comments:
   &lt;textarea name="comments" id="comments" required&gt;&lt;/textarea&gt;&lt;/label&gt;&lt;br /&gt;&lt;br /&gt;
  &lt;input name="submit" type="submit" id="submit" formaction="confirmation.html" formmethod="POST" formtarget="_self" action="mailto:chinochinako@gmail.com"&gt;
  &lt;/form&gt;
  
  &lt;script src="js/form.js"&gt;&lt;/script&gt;
  &lt;/body&gt;
  &lt;/html&gt;</code></pre>
  </div>
  </div>
  </p>