ACCC Home Page ACADEMIC COMPUTING and COMMUNICATIONS CENTER
Accounts / Passwords Email Labs / Classrooms Telecom Network Security Software Computing and Network Services Education / Teaching Getting Help
 
The ADN Connection, July/August/September 1997 The A3C Connection
July/Aug/Sept 1997 Contents The ADN Post Getting in Touch with the World Quick Index to ADN Services Do-It-Yourself Accounts The ADN Network Services Kit FormMail Version 2.0
Using SearchUIC Free ADN Seminars for Fall '97 Instructional Technology Services ADN Free Public Micro Labs UIC Announce is Here! About the ADN Connection  

FormMail Version 2.0 

 
The Campus Beat
WWW Everyone

 Putting information out on the World Wide Web is great, but what if you want to ask questions to get specific information back from your visitors? That's what HTML forms are for, and they aren't much harder to produce than simple HTML. But you'll need a program to receive the submitted forms and email them on to you. The programs that do this are called CGI scripts (Common Gateway Interface); they're simply a way to get a Web server to run a program rather than just fetching a file.

Do you want to ask people specific questions and to receive their answers by email, or do you want to let people search your myriad pages for specific words? You are now in luck! FormMail and SearchUIC will let you do exactly that, with features you might not have known you needed. And you won't even need to write any programs; the FormMail and SearchUIC CGI scripts are publicly available on both tigger and icarus; just direct the output of your HTML form to these scripts, and let the Web server do the rest.

FormMail and SearchUIC are two of a growing list of advanced Web tools available at UIC. The list and how-to instructions using for each tool -- including FormMail and SearchUIC -- can be found on the Web (of course!), at: http://www.uic.edu/depts/accc/home/NETWORK.html#SERV-WEB

 
   
 
     
FormMail Version 2.0
  The FormMail CGI script processes submitted HTML forms and emails the results to specified people; it's been in use on tigger and icarus for some time. FormMail version 2.0 is now available, with lots of new features:
  • You can send multiple messages, each with a different format, directly to different people. And exactly who receives the mail can depend on what boxes are checked on the original form.
  • The format of the mail is completely under your control.
  • Some server-side validity checking is available. For example, you can refuse to accept the form until the person filling out the form gives you a telephone number.
  • The HTML response can be customized, and can depend on the values in the filled out form. For example, you could make a quiz and return "right" or "wrong", depending on the value of a checkbox. Or the response can be built out of pieces, and each piece can be included or not, depending on the form values.
And despite the new flexibility, FormMail is still easy to use. You design your HTML form as usual. But you also construct a configuration file (placed on icarus or tigger) that tells FormMail how to process the form. The configuration file can be nearly empty if you want to use FormMail's defaults, and can grow in complexity as you add features. The configuration file is a tagged file, similar in spirit to HTML, but it uses a different set of tags.
Comments are welcome; send them to:
Bob Goldstein, bobg@uic.edu
 
 

The ADN Connection, July/Aug/Sept 1997 Previous: The ADN Network Services Kit Next: Using SearchUIC


1999-9-9  connect@uic.edu
UIC Home Page Search UIC Pages Contact UIC