TV Science Hosting provide Matt Wright's FormMail program for sending HTML form data via e-mail. Typical applications include: Feedback Forms, entering registration details etc.
Two versions are available:
FormMailCSV.pl is a enhancement developed by ourselves which presents the given data in CSV format ready for importation into
a spreadsheet or database.
Full documentation can be found at http://www.scriptarchive.com/.
Our version differs slightly in that only a destination address of
is permitted (an anti-spam measure). If you wish to use FormMail,
the destination(s) for
One very important point to note is that the field called
is now a required element. Although not needed by FormMail itself, e-mail relays
may require a valid return e-mail address before agreeing to forward the mail message (another anti-spam
measure). You should thus include this code in your form:
A problem with this method is that if the form filler makes an typographical or spelling error with the e-mail address,
then the form data may still not be delivered.
Here is an alternative solution:
If your form filler does not have an e-mail address to provide, a suitable default address must still be submitted with the form. This can be done by adding the following snippet to your HTML form:
This will allow your form filler to supply an e-mail address which need not be correct as it won't be checked for validity.
Here is a simple example form with e-mail address. Here is another without an e-mail address. Download either and customize to your requirements.
Make sure any spam filtering software in the delivery path allows e-mails generated by FormMail to pass!
|IMPORTANT:||E-mail is an insecure protocol, you should never send confidential information in this way. Additionally e-mails occasionally go astray or may even fail to be delivered at all.|