Smith has a PHP remailing script at http://www.smith.edu/form_mail.php. Form data sent to this address using method="post" will be remailed to an address specified in the form data, usually via hidden input elements, as shown below:
<form action="https://www.smith.edu/form_mail.php" method="post"> <input name="Form_Mailer_To" type="hidden" id="Form_Mailer_To" value="auser@email.smith.edu"> <input name="Form_Mailer_Name" type="hidden" id="Form_Mailer_Name" value="Remailer Test"> <input name="Form_Mailer_URL" type="hidden" id="Form_Mailer_URL" value="http://www.smith.edu/"> <!-- Further form elements could be included here. --> </form>
The first <input> tag specifies the e-mail address where the form should be mailed. The second gives the subject of the e-mail. The third specifies the url where the browser should be directed next -- typically an acknowledgement or thank-you page. Note that this page will not be able to see any of the form data, as it would with method="get".
Try it out! Enter your e-mail address in the text box, and click submit. You should soon get a message containing the form results. (Note that although this form uses a text inputs for demonstration purposes to specify the mail recipient, subject, and destination url, the method shown above using hidden elements is recommended.)