This program takes input from a HTML form and emails it to the specified address.Two fields must be supplied (as hidden fields) which contain the email address to send the data to, and the address of the page to go to after sending it (e.g. some sort of a thank you page).
Usage:
<form action="/cgi-bin/feedback" method="post">
<input type="hidden" name="mailto" value="Your email address">
<input type="hidden" name="nextpage" value="Page to go to">
....
Your input fields go here
....
<input type="submit" value="Send mail"> <input type="reset" value="Start again...">
</form>The page to go to must be a full page name, not relative to the page you are on.
e.g. <input type="hidden" name="nextpage" value="~auser/thanks.html">