title: Send form input by email without server
body: <p>For a locally hosted HTML page, I need to email a bit of user input (name, email, comments).</p>
  
  <p>This is done on a touchscreen display, where visitors can leave their information and comments.</p>
  
  <p>So I was thinking of using a virtual keyboard such as <a href="http://mottie.github.io/Keyboard/" rel="nofollow">here</a>.</p>
  
  <pre><code>&lt;form action="post" id="emails" onsubmit="return false;"&gt;
  &lt;input type="text" id="keyboard" placeholder="Enter name..."&gt;&lt;/input&gt;
  &lt;input type="text"  id="keyboard2" placeholder="Enter email..."&gt;&lt;/input&gt;
  &lt;input type='submit' id='send' value='Submit' /&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>I used this to be able to send the email <a href="https://medium.com/design-startups/b53319616782" rel="nofollow">link</a>.</p>
  
  <p>And with the correct details, the following code works and I get emails in my inbox.</p>
  
  <pre><code>$('#send').click(function() {
      $.ajax({ 
          type: 'POST',
          url: 'https://mandrillapp.com/api/1.0/messages/send.json',
          data: {
              'key': "xxxxxxxx",
              'message': {
              'from_email': "xxxxxx@xxxxxx.com",
              'to': [
              {
              'email': "xxxxxxxx@xxxxxxxxxx.com",
              'name': 'xxxxxx',
              'type': 'to'
              }
              ],
              'autotext': 'true',
              'subject': 'TEST! TEST!',
              'html': 'test'
              }
          }
      }).done(function(response) {
          console.log(response);
          alert("You send an email!"); // if you're into that sorta thing
      });
  });
  </code></pre>
  
  <p>So this works, as in it sends the email with the text put in here: <code>'html': 'test'</code></p>
  
  <p>And instead of 'test', I would obviously like to get 'name + email'.</p>
  
  <p>(Also it is probably for less then 50 emails per month, so just an email will suit my needs for now, nothing with databases and saving all this data. I would just like to get the email.)</p>
  
  <p>So, is it possible and how should I do this?</p>
  
  <p>Is the route I took now doable or would you suggest a completely different way?</p>