The IT Center provides a secured version of the FormMail perl script for use by authorized departments. If you are unsure whether your department's website can use the FormMail service, please contact IT Center System Administration. The service also has limits on the addresses to which email can be sent.
Use of FormMail requires knowledge of HTML forms. Basic configuration options are given below, required options are red:
|
| Setting: | form action |
| Purpose: | tells the client's web browser where the FormMail script is located |
| Example: | <form method="post" action="http://webapps.health.ufl.edu/cgi-bin/FormMail.pl"> |
|
| Setting: | recipient |
| Purpose: | A comma-delimited list of email addresses that will receive the form data |
| Example: | <input type="hidden" name="recipient" value="john@ufl.edu,marsha@ufl.edu" /> |
|
| Setting: | subject |
| Purpose: | This value will appear as the subject line of the email |
| Example: | <input type="hidden" name="subject" value="TPS Report" /> |
|
| Setting: | email |
| Purpose: | The email address that appears in the From: line of the email |
| Example: | Your email address: <input type="text" name="email" size="30" /> |
|
| Setting: | realname |
| Purpose: | The name that appears next to the email address in the From: line |
| Example: | Your name: <input type="text" name="realname" size="30" /> |
|
| Setting: | required |
| Purpose: | A list of the names of fields in the form that are required |
| Example: | <input type="hidden" name="required" value="email,realname,shoesize" /> |
|
| Setting: | sort |
| Purpose: | The order in which to sort the data entries |
| Example: | <input type="hidden" name="sort" value="department,shoesize,title,address" /> |
|
| Setting: | redirect |
| Purpose: | A custom page to send the user to after they have successfully submitted a form |
| Example: | <input type="hidden" name="redirect" value="http://www.health.ufl.edu/input_appreciated.html" /> |
|
| Setting: | missing_fields_redirect |
| Purpose: | A custom page to send the user to if they submitted the form without filling in a required field |
| Example: | <input type="hidden" name="missing_fields_redirect" value="http://www.health.ufl.edu/missing_input.html" /> |
|