Departmental web developers with websites hosted through webdav.fsu.edu may access a CGI program that decodes form input and emails it to a pre-specified alias. Departments can request the creation of a web form alias that points to one or more email addresses to receive the data. The program is called "mail", and was written by Carlos A. Pero at the National Center for Supercomputing Applications.
Requesting an Email Alias
To request access to the program or to have a web form alias created, contact the ITS Service Desk at 850-644-HELP(4357) or submit a support request with the following information:
- The departmental web site URL
- Email address(es) for the form output to go to (can be more than one address)
- The preferred name of the alias (one-word nickname for your web form's email recipients)
ITS will generate an alias for you, placing it in a database that is accessed by the "mail" program. You will receive an email from us containing the assigned alias and confirming that the service is ready to use. If you have multiple forms you may request multiple aliases, as needed.
Using "mail" in your form
The action URL in the departmental form should be
<FORM METHOD="POST" ACTION="http://www.fsu.edu/cgi-bin/mail?alias">
where "alias" is the alias you received from ITS.
Customizing your auto-acknowledgement (optional)
If you wish, you may customize the acknowledgement a user receives in response to filling our your departmental form.
Include the following* in your document:
<INPUT TYPE="hidden" NAME="next-url" VALUE="http://dept.fsu.edu/received.html">
*"dept.fsu.edu" is your departmental website domain and "received.html" is the name you assign to the acknowledgement file. If this is present in the FORM input, the browser will be redirected to the file you specify as a confirmation message instead of the default.
Customizing email generated by the form (optional)
In addition, you can also define any of the following input names in your form to further customize output emailed back to the alias.
<INPUT TYPE="hidden" NAME="subject" VALUE="My survey results">
<INPUT TYPE="hidden" NAME="from-name" VALUE="Average Web user">
<INPUT TYPE="hidden" NAME="from-email" VALUE="firstname.lastname@example.org">
These values will then be used in the header of the email message. Otherwise, default values will be substituted.
Be sure to make appropriate substitutions for VALUE