|
|
|||||||||
![]()
|
|
||||||||
The CWIS group has customised version 1.9.6 of the cgi-mailer software by Martin Gleeson to better meet the university requirements.
Details of these customisations are as follows:
To facilitate the configuration of auto-responders to form submissions the "From" address of email submissions can be set in one of two ways:
ie. <input type="text" name="header:From">
ie. <input type="text" name="From">
Note:
If a "From" address is not specified a default email address of "cgi-mailer submission <http@myriad.its.unimelb.edu.au>" will be used.
Note: If an email is sent to this address (ie. a web site maintainer responds or auto-responds to an email from cgi-mailer) it is configured to send a warning email back to notify the sender that they have emailed a system account.
For cases in which you have multiple forms with the same input fields (eg. two pages asking for the name and email address of interested parties) it is possible to set up default files which will be used by all forms.
The default files and html pages with similar forms should all be in the same directory on the web server, the default file names are as follows:
If you are using long filenames (with the full .html extension) cgi-mailer will look for:
If you are using 8+3 filenames (with the .htm extension) cgi-mailer will look for:
The format of the required, data and response files is exacly the same as the standard required, data and response files.
When processing your form, cgi-mailer will check first for the form specific file (ie. for myform.html, cgi-mailer will look for myform.data, myform.required and myform.response) and if it cannot find it it will then check for the existence of a default file in the same directory as the form.
If you want the user of a form to receive the email response as well as the 'destination' recipients a 'mailtouser' field can be used, ie:
<input type="hidden" name="mailtouser" value="UserEmail">
<input type="text" name="UserEmail">
The value of the "mailtouser" field specifies the name of the field that will receive the user's email address.
Note: