Mail Web Forms

Web Form Email Aliases on Departmental Websites

Departmental web developers with websites hosted through 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:

  1. The departmental web site URL
  2. Email address(es) for the form output to go to (can be more than one address)
  3. 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


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="">

*"" 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="">

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