HiQFormMail 2.0 (Form Mail Script)
Posted on 27/11/08 13:45
HiQFormMail 2.0

HiQ Formmail is a form handler which has the ability to email attachments. Since the script is configured using config file(s) there are no required form fields. There are a limited number of form fields which can in some limited cases, be used to override configuration file entries.
Original Features:
Multiple attachments, Limit types of attachments allowed, Block attachments by extension, Multiple recipients and Bcc(s), Auto responder, Custom header/footers for output, redirect and more.
Version 2.0 - many new features added.
Ability to select a subset of the defined recipients
Choose column or row display for multiple entry fields.
Enhanced ability to block attachment of files by defining VALID extensions only.
Tightening of code & either a fix possible problems or remove the feature.
*This script is supported by Doteasy.com Ultra and Unlimited hosting packages.

Installation of HiQ Formmail Installation Tutorial:
Doteasy client? Need a free installation service for this script? Please contact us here.

HiQ Formmail is a form handler which has the ability to email attachments. Since the script is configured using config file(s) there are no required form fields. There are a limited number of form fields which can in some limited cases, be used to override configuration file entries.
Original Features:
Multiple attachments, Limit types of attachments allowed, Block attachments by extension, Multiple recipients and Bcc(s), Auto responder, Custom header/footers for output, redirect and more.
Version 2.0 - many new features added.
Ability to select a subset of the defined recipients
Choose column or row display for multiple entry fields.
Enhanced ability to block attachment of files by defining VALID extensions only.
Tightening of code & either a fix possible problems or remove the feature.
*This script is supported by Doteasy.com Ultra and Unlimited hosting packages.

Installation of HiQ Formmail Installation Tutorial:
- Download the current zip file here
. - Uncompress the zip file using WinZip or WinRAR to a temporary directory in your local computer.
- Naturally enough you will need to create a form on your website which passes the required information on to HiQ Formmail. If unsure how to create a form, you could try utilizing a product such as NVU which is a simple to use, free open source WYSIWYG html editor as it includes an easy to use form creation facility. Regardless of this issue, HiQ Formmail includes a test form in the zip file so you can test HiQ’s functionality whether you have created your form yet or not.
- When creating your own form, note that the Action needs to point to the HiQ Formmail file, HiQFM.php.
For Example:
<form enctype="multipart/form-data" method="post" action="/formmail/HiQFM.php" name="formname">

Click Image To Enlarge
- create a folder below your HiQ folder for the temporary files HIQ creates. This folder must be called “TEMP_FILES” – note the capitals and underscore and make sure your folder is called exactly this.

Click Image To Enlarge
- Using notepad, notetab or your preferred text editor, edit the configuration file, HiQFMConfig.conf. To start with, make only the one change. Change the [recipient] value to be your email address. Save the change and exit your editor.

Click Image To Enlarge
- Next step is put all of this online. You will need to create the HiQ folders(directories) on your server and will need to upload all of the HiQ files to the appropriate directory on the server.
For Example:
/var/www/html/formmail/
The URL to the HiQFormMail will be: http://www.yourdomain.com/formmail/

Click Image To Enlarge
- To test simply go to the supplied test page ie. http://www.yourdomain.com/formmail/test.htm. To keep things simple initially, do not change any of the values on the form, simply submit it and see if it your submission is successful and a result gets to your email.
- Once you have proved the basics are working you can then go on to test with your own form(s). The one copy of HiQ Formmail will work for multiple forms if both forms have the same required fields.
- You may of course customize the various header and footer files er_header_def.htm er_footer_def.htm header_def.htm footer_def.htm to match in with the rest of your website.
Doteasy client? Need a free installation service for this script? Please contact us here.



