![]() |
||
|
|
||
|
|
PGP FormMail CGIPGP FormMail combines the features of FormMail and PGP (Pretty Good Privacy), into a single, secure tool for sending encrypted E-Mail from web-based forms (such as an order form). InstallationConnect to your Virtual Private Server via SSH or Telnet and do the following.
ConfigurationSet the referer information such that only your server will have privileges to use the PGP FormMail CGI. Near the top of the pgp5formmail.pl file you will find the following line:
Substitute your domain name and server IP address for the values YOUR-DOMAIN.NAME and YOUR.IP.ADD.RESS respectively. UsageCreate a form that you would like the contents mailed to some address. The form should include the following fields (at the very least):
Other optional fields can also be used to enhance the operation of PGP FormMail for you site, for example:
Several other fields are supported, please see the pgp5formmail.README document for a complete presentation of the supported fields. The following is an example of what your HTML form source could look like: <form method="POST" action="/cgi-bin/pgp5formmail.pl"> <input type="hidden" name="recipient" value="order@yourdomain.com"> <input type="hidden" name="pgpuserid" value="YOUR-USER-ID"> <input type="hidden" name="subject" value="Order Request"> <input type="hidden" name="required" value="realname,username,phone"> <h3>Please Enter Your Name:</h3> <input name="realname" size="40"> <h3>Please Enter Your Email Address:</h3> <input name="username" size="40"> <h3>Please Enter Your Phone Number:</h3> <input name="phone" size="40"> . . . <input type="submit" value="Submit"> <input type="reset" value="Reset"> </form> YOUR-USER-ID is the user ID for your public key. If your user ID contains characters that could be misinterpreted by a web browser, such as '<' and '>', you will want to replace these characters with the proper escape sequences. For example if your user ID is: John Q. Smith <12345.6789@compuserve.com> Represent the user ID with the following string (note the < and > escape sequences): John Q. Smith <12345.6789@compuserve.com> |
|
|
© 2006 Cyberian Frontier, Inc. All Rights Reserved. | Terms of Use | Email | Voice: 410.510.1132 |
||