Redwood Internet Guide
Using cgi-email
Cgi-email is a compiled script that uses a text file to format and email
the contents of a web form. When creating your text file, remember to
upload it in ASCII form
- Create your form
and a mail.txt file.
- Replace 'YourDomain' in the form with your domain.
- Edit the form to have the input areas you like and add the HTML and BODY tags to the page.
- Edit mail.txt to use that input.
- Have your variables start with the name required- if
you want to require that the user input these fields.
(Like 'required-to' in the example.)
- You may alter the success variable in the HTML form to
change the message displayed after filling it out.
- If you were editing off-line, upload the files.
- Try it, and see how it works.
|