Two fields are required, ``to'' and ``from'', which are the address to send mail to, and the address that the mail should show as coming from. Optional fields include ``subject'', ``sentmessage'', ``returnurl'', ``returngraphic'', and ``returnmessage''.
<form action="/cgi-bin/mailform" method="post"> <!-- Required fields --> <input type="hidden" name="to" value="you@some.where"> <input type="text" name="from"> <!-- Optional fields --> <input type="hidden" name="subject" value="Subject of email"> <input type="hidden" name="sentmessage" value="Message to user"> <input type="hidden" name="returnurl" value="http://foo/bar/"> <input type="hidden" name="returngraphic" value="http://foo/bar.gif"> <input type="hidden" name="returnmessage" value="Back to foo..."> <!-- insert any other form elements here --> </form>
The ``showreport'' option of mailback.pl wasn't implemented. It probably should be.