A simple example The tecform script is a cgi mailscript. The script enables users of a server to be send an e-mail truegh an html page, in anny form they wish. They could even use it to send themselves html pages, or pieces of html that they could use to make new pages quickly. The script is a cgi script and is called from an html page. For this a form is used inside the html page. The basic html-code for the form is:
Inside this basic code you have to fill in a couple of fields that the script needs: - The fields the user could fill in - The login name of the user that will recieve the mail - The e-mail adress of the sender - The subject of the mail - A template for the e-mail - The name of the page that should be caled when a user fails to fill in all the fields that are required. - The name of the page that should be called when the mail has been send ok. - The required fields We shal show all these fiellds and the posibilities of TECForM using an example. Dit form makes it posible to send an e-mail to the lokal user 'rmeijer' The following line links the html input fields to the script: This line ends the form.