Now You Need to Set Up Your Form to Use the 'pgpmail.pl'
The form action line should be
<FORM ACTION = "/cgi-sys/pgpmail.pl" METHOD = "POST">
The 'pgpmail.pl' will do all the programming work
for you. You alter the behavior of 'pgpmail.pl' by
using hidden fields in your form.
There are three form fields that you must have in your
form for PGPMail to work correctly. This is the 'recipient',
'username', and 'keyname' fields.
Field: recipient
Description: This form field allows you to specify
to whom you wish for your form results to be mailed. Most
likely you will want to configure this option as a hidden
form field with a value equal to that of your e-mail address.
Syntax:
<input type=hidden name="recipient" value="your_username@localnet.com">
Field: username
Description: This form field allows you to specify
your username in the system. This allows PGPMail to look
for the configuration files to encrypt the mail to be sent
to you.
Syntax:
<input type=hidden name="username" value="your_username">
Field: keyname
Description: This form field allows you to specify
the name of your public key. This will be the public key
that PGPMail uses to encrypt your mail. You must possess
the private key in order to decrypt the email that is sent.
Syntax:
<input type=hidden name="keyname" value="public_keyname">
Important Note: Please make sure that the form entry
fields that are required to be encrypted in the final submission
are enclosed with the <pgp>
sample data </pgp>
tags.
.