<A HREF="http://south.ncsa.uiuc.edu/forms.html">Tutorial on
form creation/submission</A> with examples of form servers
that send mail based on submissions.
<A
HREF="http://www.ncsa.uiuc.edu/SDG/People/jason/pub/gsql/starthere.html
>Tutorial on GSQL </A> - simple forms interface to SQL
databases.
Hope it helps.
Regards