How to Create a Simple Mailto Form

of 01
Create This Simple Mailto Form

A Simple Mailto Form
A Simple Mailto Form. Screen shot by J Kyrnin

To create this simple mailto form, copy and paste this HTML into your web page:

<form action="mailto:you@yourdomain" method="get" enctype="text/plain">
  <p>Name: <input type="text" name="name" /></p>
  <p>Email: <input type="text" name="email" /></p>
  <p>Comments:<br />
  <textarea cols="30" rows="20" name="comments"></textarea></p>
  <p><input type="submit" name="submit" value="Send" />
  <input type="reset" name="reset" value="Clear Form" /></p>

Be sure to change the highlighted email address to the email address you want to receive the form data.

See an example mailto form