<FORM ACTION="/cgi-bin/mailto.exe" METHOD="post"> <input type="hidden" NAME="sendto" VALUE="ntmail-SALES@net-shopper.co.uk"> <Input type="hidden" Name="server" value="mail.net-shopper.co.uk"> <INPUT TYPE="hidden" NAME="subject" value="NTMAIL Key Application Form"> <INPUT type="hidden" NAME="resulturl" value="http://www.net-shopper.co.uk/software/ntmail/done.htm"> <PRE> <B>Your details:</B*gt Name: <INPUT NAME="uname" SIZE=30> Position: <INPUT NAME="title" SIZE=30> Company Name: <INPUT NAME="company" SIZE=40> E-Mail: <INPUT NAME="email" SIZE=30> Press <INPUT TYPE="submit" VALUE="Submit"> and your request will be processed or <INPUT TYPE="reset" VALUE="Clear"> to start again. We aim to respond within 24 hours.When the user presses the SUBMIT button, the information is sent to the WWW server which calls /cgi-bin/mailto.exe. MAILTO will read the details sent and format a message which looks something like:
From: A N Other <other@company.com> To: <ntmail-SALES@net-shopper.co.uk> Subject: NTMAIL Key Application Form Date: Thu, 22 Jun 95 13:22:28 GMT+0000 The following form contents were entered on 22nd Jun 95 Date = 22 Jun 95 13:22:26 subject = NTMAIL Key Application Form uname = A N Other title = Network Administrator company = Elephants Inc email = other@company.com
This program has been tested with EMWACs, Alibaba, and Spry/Compuserve's Server.
It does not always work with Netscape Commerce version 1.0 or Netscape Communications Server.
<INPUT TYPE="hidden" NAME="uname_required" value="Please enter your name.">The final result page will not be displayed until something is entered into the field.
<INPUT TYPE="hidden" NAME="REMOTE_ADDR_display">Will cause the line "REMOTE_ADDR = ip.adddress" to be added to the mail message.