Quick Start Guide

Installation

  1. Unzip the downloaded file. You should see a folder labeled pyformmail, another labeled pfmconfigres, a python script named pfminstall.py, and a document labeled readme.txt.
  2. Upload pyformmail and its contents to the cgi-bin directory of your server. Then, upload the file pfminstall.py to the cgi-bin folder. Your cgi-bin folder should now have a folder pyformmail and the file pfminstall.py.
  3. Using your FTP program or CPanel, etc. CHMOD pfminstall.py to be 755.
  4. Upload the pfmconfigres folder to your root directory (/).
  5. Go to http://[yoursite.com]/cgi-bin/pfminstall.py. If it worked right, then it'll say that there were no problems. Click the link at the bottom to start configuration.
  6. Configuration is fairly straightforward. Please remember that your name has to be one word and that the paths are "absolute paths."
  7. Optionally, edit the okay.html file so that you like it. This completes installation.

 

Sample Form Input from an HTML Page

...
<form ACTION="/cgi-bin/pyformmail/formmail.py" METHOD="POST" name="form">
<input type=hidden name="envreport" value="REMOTE_ADDR">
<input type=hidden name="envreport" value="HTTP_REFERER">
<input type=hidden name="sys.subject" value="This is a Sample Form">
<p align="left">Input Box:<br>
<input type="text" name="input" size="20"></p>
<p align="left">Password Box:<br>
<input type="password" name="passwordbox" size="20"></p>
<p align="left">Text Area:<br>
<textarea rows="6" name="textarea" cols="20"></textarea></p>
<p align="left">Check Boxes:<br>
<input type="checkbox" name="CB_A" value="ON" checked>CB_A<br>
<input type="checkbox" name="CB_B" value="ON">CB_B<br>
<input type="checkbox" name="CB_C" value="ON">CB_C</p>
<p align="left">Radio Group 1:<br>
<input type="radio" value="V1" name="R1" checked><input type="radio" value="V2" name="R1"><input type="radio" value="V3" name="R1"><input type="radio" value="V4" name="R1"><input type="radio" value="V5" name="R1"><input type="radio" value="V6" name="R1"><input type="radio" value="V7" name="R1"></p>
<p align="left">Radio Group 2:<br>
<input type="radio" value="V1" name="R2" checked><input type="radio" value="V2" name="R2"><input type="radio" value="V3" name="R2"><input type="radio" value="V4" name="R2"><input type="radio" value="V5" name="R2"><input type="radio" value="V6" name="R2"><input type="radio" value="V7" name="R2"></p>
<fieldset style="padding: 2">
<legend>Testing Group 1</legend>
sdfasdfasdf</fieldset><p align="left">Choose 1<br>
<select size="3" name="Choose1">
<option selected>A</option>
<option>B</option>
<option>C</option>
</select></p>
<p align="left">Choose 2<br>
<select size="3" name="Choosemany" multiple>
<option selected>A</option>
<option>B</option>
<option>C</option>
</select></p>
<p align="left">&nbsp;</p>
<p align="left">
<input type="submit" value="Submit" name="Submit">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<input type="reset" value="Reset" name="Reset"></p>
</form>
...