Sample CGI Script for WEB E-Mail Submissions

©Thomas N. Robb, 1997

This is the CGI script in Perl used for processing submissions from the form in "The Paperless Classroom?". The script will have to be modified by someone familiar with the Perl language and installed on a WWW server which has CGI processing capability.

Note that, while this program works, it has no error trapping code to catch ill-formed e-mail addresses, missing names, etc. Such code is generally desirable in a program which will see heavy use, or one used by novices or others prone to error (=humans).

The first line in the program, starting with '#!' specifies where in the computer system the Perl language interpreter resides. This will vary from machine to machine.

Back to The Paperless Classroom?